BUG: fix doctests in pandas.core.common

$ nosetests pandas/core/common.py --with-doc -v
Merge pull request #8931 from rupertthompson/fix/core_common_doctests

BUG: fix doctests in pandas.core.common
BUG: Fixed font size (set it on both x and y axis). #8765