You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem occures if the ahakab is run from the non-default python interpreter.
Current snippet:
try:
import matplotlib
if os.system('python -c "import matplotlib.pyplot as plt;plt.figure()"'):
# no display, use a display-less backend
matplotlib.use('Agg')
except ImportError:
# plotting.py will complain about this later on.
pass
Suggestion:
import sys
try:
import matplotlib
if os.system(sys.executable + ' -c "import matplotlib.pyplot as plt;plt.figure()"'):
# no display, use a display-less backend
matplotlib.use('Agg')
except ImportError:
# plotting.py will complain about this later on.
pass
I get the following error during running the example code from the README
The text was updated successfully, but these errors were encountered: