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.
2 parents be37777 + df15b57 commit 875e539Copy full SHA for 875e539
lib/matplotlib/font_manager.py
@@ -1398,13 +1398,12 @@ def findfont(prop, fontext='ttf'):
1398
else:
1399
_fmcache = None
1400
1401
- if not 'TRAVIS' in os.environ:
1402
- cachedir = get_cachedir()
1403
- if cachedir is not None:
1404
- if six.PY3:
1405
- _fmcache = os.path.join(cachedir, 'fontList.py3k.cache')
1406
- else:
1407
- _fmcache = os.path.join(cachedir, 'fontList.cache')
+ cachedir = get_cachedir()
+ if cachedir is not None:
+ if six.PY3:
+ _fmcache = os.path.join(cachedir, 'fontList.py3k.cache')
+ else:
+ _fmcache = os.path.join(cachedir, 'fontList.cache')
1408
1409
fontManager = None
1410
0 commit comments