You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
all matplotlibrc files should be loaded in order #6320
Only one matplotlibrc file is loaded instead of loading them in order of decreasing scope. So when I added a matplotlibrc file in my home directory it unexpectedly changed the backend that was being set in INSTALL/matplotlib/mpl-data/matplotlibrc because that file was no longer being loaded. I expected matplotlib to load the global (install) config and then apply my config on top of that.
Note that I don't think that would solve the problem of backend changes
since backends aren't style. But I agree, nowhere in any documentation do
we state that the rcfiles are cascading. Instead, the selection of rcfiles
is documented as a fallback mechanism (current dir > ~/.config > built-in
defaults).
Activity
tacaswell commentedon Apr 20, 2016
That would be a major API/behavior change.
If you want to have 'cascading' styles, use
mpl.style.usewhich applies the given style on top of the current rcparams.WeatherGod commentedon Apr 21, 2016
Note that I don't think that would solve the problem of backend changes
since backends aren't style. But I agree, nowhere in any documentation do
we state that the rcfiles are cascading. Instead, the selection of rcfiles
is documented as a fallback mechanism (current dir > ~/.config > built-in
defaults).
On Wed, Apr 20, 2016 at 10:34 AM, Thomas A Caswell <notifications@github.com
rcomer commentedon Oct 1, 2022
If settings from all available matplotlibrc files were applied, I would need a new solution for my StackOverflow question here
https://stackoverflow.com/questions/67210631/restore-rcdefaults-by-environment-setting
jklymak commentedon Oct 1, 2022
Yes not sure why this has dragged around for 7 years. We don't cascade style sheets and the backend mechanism has been overhauled.