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
Prefer mpl.get_data_path(), and support Paths in FontProperties.
1) Prefer using mpl.get_data_path() rather than rcParams["datapath"].
I would like to ultimately kill that rcParams entry, because it
does not make sense as a rcParam (for example one can't really
meaningfully assign it to anything else than its default value, or
set it in their matplotlibrc) and requires e.g. to be blacklisted
in style/core.py; let's start by not using it in the docs.
2) As a side effect of that change, one of the examples (font_file.py)
reads a bit more nicely if one can pass Paths to FontProperties, so
let's support that.
0 commit comments