Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2e6496 commit 070fbffCopy full SHA for 070fbff
1 file changed
doc/make.py
@@ -41,9 +41,9 @@ def html(buildername='html'):
41
check_build()
42
43
rc = '../lib/matplotlib/mpl-data/matplotlibrc'
44
- active_rc = matplotlib.matplotlib_fname()
45
- if not os.path.exists(rc) and os.path.exists(active_rc):
46
- rc = active_rc
+ default_rc = os.path.join(matplotlib._get_data_path(), 'matplotlibrc')
+ if not os.path.exists(rc) and os.path.exists(default_rc):
+ rc = default_rc
47
copy_if_out_of_date(rc, '_static/matplotlibrc')
48
49
if small_docs:
0 commit comments