-
Notifications
You must be signed in to change notification settings - Fork 74
Switching backends in matplotlib 3.3.0 fails #1792
Copy link
Copy link
Closed
Labels
bugjob feedbackGraphs, images, and other feedback generated during job execution.Graphs, images, and other feedback generated during job execution.
Description
With exporting custom backend in matplotlib 3.3.0
src/plugins/GenerateJob/templates$ export MPLBACKEND=module://backend_deepforgePython 3.7.6 | packaged by conda-forge | (default, Jun 1 2020, 18:57:50)
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import matplotlib
>>> matplotlib.__version__
'3.3.0'
>>> from matplotlib import pyplot as plt
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/umesh/anaconda3/envs/deepforge/lib/python3.7/site-packages/matplotlib/pyplot.py", line 2319, in <module>
switch_backend(rcParams["backend"])
File "/home/umesh/anaconda3/envs/deepforge/lib/python3.7/site-packages/matplotlib/pyplot.py", line 283, in switch_backend
matplotlib.backends.backend = newbackend
AttributeError: module 'matplotlib' has no attribute 'backends'
>>> Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugjob feedbackGraphs, images, and other feedback generated during job execution.Graphs, images, and other feedback generated during job execution.
