Commit aa8d3b9a authored by Stephan Kuschel's avatar Stephan Kuschel
Browse files

matplotlib import workaround

parent 0b9e1bf5
......@@ -39,6 +39,9 @@ class MatplotlibPlotter(object):
'''
import matplotlib.ticker
# workaroung needed for ScalarFormatter()
# see https://github.com/matplotlib/matplotlib/issues/22305
import matplotlib.font_manager
axesformatterx = matplotlib.ticker.ScalarFormatter()
axesformatterx.set_powerlimits((-2, 3))
axesformattery = matplotlib.ticker.ScalarFormatter()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment