Look for user-specified styles in ~/.config/matplotlib/stylelib#2720
Look for user-specified styles in ~/.config/matplotlib/stylelib#2720mdboom merged 4 commits intomatplotlib:masterfrom
Conversation
|
Can you please clean up the PEP8 violations? It looks like you left some trailing white space on one of the lines. This changes looks reasonable to me, but I suspect that this should have a more correct handling of paths (does I see no reason not to merge this (once pep8 is fixed), but it is a stop-gap. |
|
|
There was a problem hiding this comment.
I think this would be better if it just used matplotlib._get_configdir() and then it can be configured in a consistent way. @tonysyu, did you have a motivation for not using that function in the first place, or was it just a case of it being well hidden?
Look for user-specified styles in ~/.config/matplotlib/stylelib
Hi all,
I just noticed that the
stylesmodule currently only looks for user-specified styles in~/.matplotlib/stylelib. I think it ought to also look in~/.config/matplotlib/stylelib/for consistency with~/.config/matplotlib/matplotlibrcand in order to comply with the latest XDG standard (c.f. #454).