This commit is contained in:
blitzman
2017-02-26 14:26:32 -05:00
parent cd516f80bb
commit 821298b6d0
4 changed files with 26 additions and 20 deletions

View File

@@ -73,7 +73,7 @@ class GraphFrame(wx.Frame):
except:
cache_dir = os.path.expanduser(os.path.join("~", ".matplotlib"))
cache_file = path = os.path.join(cache_dir, 'fontList.cache')
cache_file = os.path.join(cache_dir, 'fontList.cache')
if os.access(cache_dir, os.W_OK | os.X_OK) and os.path.isfile(cache_file):
# remove matplotlib font cache, see #234