pyodide/packages/matplotlib/patches/hardcoded_font_cache.patch

12 lines
361 B
Diff

--- a/lib/matplotlib/font_manager.py 2018-06-01 14:26:50.000683915 -0400
+++ b/lib/matplotlib/font_manager.py 2018-06-01 14:27:16.803726101 -0400
@@ -1431,7 +1431,7 @@
else:
_fmcache = None
- cachedir = get_cachedir()
+ cachedir = os.path.dirname(__file__)
if cachedir is not None:
_fmcache = os.path.join(cachedir, 'fontList.json')