Skip to content

rc_file does not restore settings from my matplotibrc #2118

@fonnesbeck

Description

@fonnesbeck

I'm trying to use rc_file to restore my default configuration from matplotlibrc after changing them in a session, but it does not seem to be working. Instead, the system defaults are restored as if I had used rcdefaults. Here is what I am doing:

In [18]: matplotlib.matplotlib_fname()

Out[18]:
'/Users/fonnescj/.matplotlib/matplotlibrc'

which confirms which matplotlibrc I am using. I have tried both:

matplotlib.rc_file_defaults()

which suggests that it is using the user's matplotlibrc, but does not appear to do so, as well as explicitly specifying:

matplotlib.rc_file(matplotlib.matplotlib_fname())

which does not work either. My configuration produces plots that are much different than the system defaults, so it is obvious when it does not work.

I am running this from a very recent build from GitHub master on iPython notebook.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions