• Scientific Computing | SciVision

  • Blog
  • Tags
  • Categories

matplotlibrc Matplotlib defaults file

25 April, 2022

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.

  • python
  • matplotlib