matplotlibrc Matplotlib defaults file

Tell current matplotlibrc location:

python -c "import matplotlib; print(matplotlib.matplotlib_fname())"

matplotlibrcĀ location priority

Help end users have the same plotting experience by putting a matplotlibrc file in the Python project directory that users run your script from.