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 207469f + f0888de commit 3b8dbddCopy full SHA for 3b8dbdd
lib/matplotlib/font_manager.py
@@ -1324,12 +1324,15 @@ def findfont(prop, fontext='ttf'):
1324
return result
1325
1326
else:
1327
- cachedir = get_cachedir()
1328
- if cachedir is not None:
1329
- if sys.version_info[0] >= 3:
1330
- _fmcache = os.path.join(cachedir, 'fontList.py3k.cache')
1331
- else:
1332
- _fmcache = os.path.join(cachedir, 'fontList.cache')
+ if not 'TRAVIS' in os.environ:
+ cachedir = get_cachedir()
+ if cachedir is not None:
+ if sys.version_info[0] >= 3:
+ _fmcache = os.path.join(cachedir, 'fontList.py3k.cache')
+ else:
1333
+ _fmcache = os.path.join(cachedir, 'fontList.cache')
1334
1335
+ _fmcache = None
1336
1337
fontManager = None
1338
0 commit comments