Title: unable to pickle.load an AxesSubplot object · Issue #3986 · matplotlib/matplotlib · GitHub
Open Graph Title: unable to pickle.load an AxesSubplot object · Issue #3986 · matplotlib/matplotlib
X Title: unable to pickle.load an AxesSubplot object · Issue #3986 · matplotlib/matplotlib
Description: Python 2.7.9 :: Anaconda 2.1.0 (64-bit) Matplotlib 1.4.0 On an example code from http://stackoverflow.com/questions/7290370/store-and-reload-matplotlib-pyplot-object getting a following exception on pickle load. -------------------------...
Open Graph Description: Python 2.7.9 :: Anaconda 2.1.0 (64-bit) Matplotlib 1.4.0 On an example code from http://stackoverflow.com/questions/7290370/store-and-reload-matplotlib-pyplot-object getting a following exception o...
X Description: Python 2.7.9 :: Anaconda 2.1.0 (64-bit) Matplotlib 1.4.0 On an example code from http://stackoverflow.com/questions/7290370/store-and-reload-matplotlib-pyplot-object getting a following exception o...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3986
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unable to pickle.load an AxesSubplot object","articleBody":"Python 2.7.9 :: Anaconda 2.1.0 (64-bit)\nMatplotlib 1.4.0\n\nOn an example code from http://stackoverflow.com/questions/7290370/store-and-reload-matplotlib-pyplot-object getting a following exception on pickle load.\n\n```\n---------------------------------------------------------------------------\nAttributeError Traceback (most recent call last)\n\u003cipython-input-2-37de7fcd9451\u003e in \u003cmodule\u003e()\n 2 import pickle\n 3 \n----\u003e 4 ax = pickle.load(file('myplot.pickle', 'rb'))\n 5 plt.show() \n\n/home/anaconda/envs/py27/lib/python2.7/pickle.pyc in load(file)\n 1376 \n 1377 def load(file):\n-\u003e 1378 return Unpickler(file).load()\n 1379 \n 1380 def loads(str): \n\n/home/anaconda/envs/py27/lib/python2.7/pickle.pyc in load(self)\n 856 while 1:\n 857 key = read(1)\n--\u003e 858 dispatch[key](self)\n 859 except _Stop, stopinst:\n 860 return stopinst.value \n\n/home/anaconda/envs/py27/lib/python2.7/pickle.pyc in load_build(self)\n 1215 setstate = getattr(inst, \"__setstate__\", None)\n 1216 if setstate:\n-\u003e 1217 setstate(state)\n 1218 return\n 1219 slotstate = None \n\n/home/anaconda/envs/py27/lib/python2.7/site-packages/matplotlib/figure.pyc in __setstate__(self, state)\n 1343 allnums = plt.get_fignums()\n 1344 num = max(allnums) + 1 if allnums else 1\n-\u003e 1345 mgr = plt._backend_mod.new_figure_manager_given_figure(num, self)\n 1346 \n 1347 # XXX The following is a copy and paste from pyplot. Consider \n\nAttributeError: 'module' object has no attribute 'new_figure_manager_given_figure'\n```\n","author":{"url":"https://github.com/sektoid0","@type":"Person","name":"sektoid0"},"datePublished":"2015-01-09T03:58:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/3986/matplotlib/issues/3986"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9e93f1a7-28c5-7bbe-491e-80875a5404af |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A434:C308B:689A4:90281:6A5472E2 |
| html-safe-nonce | c23d2024c92291f08846e10ecb52e6a0407310e448fdb09512d15efea1333a9e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDM0OkMzMDhCOjY4OUE0OjkwMjgxOjZBNTQ3MkUyIiwidmlzaXRvcl9pZCI6IjI1Mzk1MDM5OTM3MDI2MDk2MzQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5f2a99c7d975b7eb27f47465512d5ec8e37010b06643b29a8c217743015a2ce9 |
| hovercard-subject-tag | issue:53831441 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/3986/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0cf844d8d200966bd0554023dd789c58fd3b9bf8023eb1640d3ea97f051231f5/matplotlib/matplotlib/issues/3986 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0cf844d8d200966bd0554023dd789c58fd3b9bf8023eb1640d3ea97f051231f5/matplotlib/matplotlib/issues/3986 |
| og:image:alt | Python 2.7.9 :: Anaconda 2.1.0 (64-bit) Matplotlib 1.4.0 On an example code from http://stackoverflow.com/questions/7290370/store-and-reload-matplotlib-pyplot-object getting a following exception o... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sektoid0 |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d28624802c2f7d9500239dd6870ed7031b7353b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width