rc = Dict({'figure.figsize': (6.0, 4.0), 'figure.facecolor': 'white',
    'figure.edgecolor': 'white', 'font.size': 10, 'savefig.dpi': 72,
    'figure.subplot.bottom': 0.125}, config=True, help=
    """Subset of matplotlib rcParams that should be different for the
    inline backend."""
    )
Why is matplotlib plot produced from ipython notebook slightly different from terminal version?