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
/home/anaconda/envs/py27/lib/python2.7/site-packages/matplotlib/figure.pyc in setstate(self, state)
1343 allnums = plt.get_fignums()
1344 num = max(allnums) + 1 if allnums else 1
-> 1345 mgr = plt._backend_mod.new_figure_manager_given_figure(num, self)
1346
1347 # XXX The following is a copy and paste from pyplot. Consider
AttributeError: 'module' object has no attribute 'new_figure_manager_given_figure'
The text was updated successfully, but these errors were encountered:
Python 2.7.9 :: Anaconda 2.1.0 (64-bit)
Matplotlib 1.4.0
Example code from http://stackoverflow.com/questions/7290370/store-and-reload-matplotlib-pyplot-object
Getting a following exception on pickle load:
AttributeError Traceback (most recent call last)
in ()
2 import pickle
3
----> 4 ax = pickle.load(file('myplot.pickle', 'rb'))
5 plt.show()
/home/anaconda/envs/py27/lib/python2.7/pickle.pyc in load(file)
1376
1377 def load(file):
-> 1378 return Unpickler(file).load()
1379
1380 def loads(str):
/home/anaconda/envs/py27/lib/python2.7/pickle.pyc in load(self)
856 while 1:
857 key = read(1)
--> 858 dispatchkey
859 except _Stop, stopinst:
860 return stopinst.value
/home/anaconda/envs/py27/lib/python2.7/pickle.pyc in load_build(self)
1215 setstate = getattr(inst, "setstate", None)
1216 if setstate:
-> 1217 setstate(state)
1218 return
1219 slotstate = None
/home/anaconda/envs/py27/lib/python2.7/site-packages/matplotlib/figure.pyc in setstate(self, state)
1343 allnums = plt.get_fignums()
1344 num = max(allnums) + 1 if allnums else 1
-> 1345 mgr = plt._backend_mod.new_figure_manager_given_figure(num, self)
1346
1347 # XXX The following is a copy and paste from pyplot. Consider
AttributeError: 'module' object has no attribute 'new_figure_manager_given_figure'
The text was updated successfully, but these errors were encountered: