We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1392cbe commit 50c46d8Copy full SHA for 50c46d8
lib/matplotlib/__init__.py
@@ -613,6 +613,7 @@ def matplotlib_fname():
613
is not defined)
614
- On other platforms,
615
- ``$HOME/.matplotlib/matplotlibrc`` if ``$HOME`` is defined
616
+ - ``/etc/matplotlibrc``
617
- Lastly, it looks in ``$MATPLOTLIBDATA/matplotlibrc``, which should always
618
exist.
619
"""
@@ -631,6 +632,7 @@ def gen_candidates():
631
632
yield matplotlibrc
633
yield os.path.join(matplotlibrc, 'matplotlibrc')
634
yield os.path.join(get_configdir(), 'matplotlibrc')
635
+ yield '/etc/matplotlibrc'
636
yield os.path.join(get_data_path(), 'matplotlibrc')
637
638
for fname in gen_candidates():
0 commit comments