Reraise exception on import

This commit is contained in:
DarkPhoenix
2019-07-27 19:02:10 +03:00
parent 0ffdae97fd
commit 6d2746ad75

View File

@@ -62,6 +62,7 @@ except ImportError as e:
Patch = mpl = Canvas = Figure = None
graphFrame_enabled = False
mplImported = False
raise
except Exception:
# We can get exceptions deep within matplotlib. Catch those. See GH #1046
tb = traceback.format_exc()