mirror of
https://github.com/ankitects/anki.git
synced 2025-09-24 00:36:38 -04:00
don't fudge matplotlib path on win32
This commit is contained in:
parent
e58d7f8dac
commit
386de21f87
1 changed files with 0 additions and 2 deletions
|
@ -38,8 +38,6 @@ if sys.platform.startswith("darwin"):
|
||||||
del os.environ['MATPLOTLIBDATA']
|
del os.environ['MATPLOTLIBDATA']
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
elif getattr(sys, "frozen", None):
|
|
||||||
os.environ['MATPLOTLIBDATA'] = os.path.dirname(sys.argv[0])
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
from matplotlib.figure import Figure
|
from matplotlib.figure import Figure
|
||||||
|
|
Loading…
Reference in a new issue