Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b261061

Browse files
committed
Document how to find the currently active matplotlibrc file.
svn path=/branches/v0_98_5_maint/; revision=6861
1 parent 72a2543 commit b261061

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

doc/users/customizing.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,12 @@ locations, in the following order:
2727
customizations to be saved, please move this file to you :file:`.matplotlib`
2828
directory.
2929

30+
To display where the currently active :file:`matplotlibrc` file was
31+
loaded from, one can do the following::
32+
33+
>>> import matplotlib
34+
>>> matplotlib.matplotlib_fname()
35+
'/home/foo/.matplotlib/matplotlibrc'
3036

3137
See below for a sample :ref:`matplotlibrc file<matplotlibrc-sample>`.
3238

0 commit comments

Comments
 (0)