Title: Cannot properly reload figure that was previously pickled · Issue #3483 · matplotlib/matplotlib · GitHub
Open Graph Title: Cannot properly reload figure that was previously pickled · Issue #3483 · matplotlib/matplotlib
X Title: Cannot properly reload figure that was previously pickled · Issue #3483 · matplotlib/matplotlib
Description: Dear all, I just figure out that matplotlib does not have apparently a simple way to save interactive plots as MATLAB "fig" figures. I sincerely hope the "experimental" pickling will be soon consolidated because it would be of great bene...
Open Graph Description: Dear all, I just figure out that matplotlib does not have apparently a simple way to save interactive plots as MATLAB "fig" figures. I sincerely hope the "experimental" pickling will be soon consol...
X Description: Dear all, I just figure out that matplotlib does not have apparently a simple way to save interactive plots as MATLAB "fig" figures. I sincerely hope the "experimental" pickling...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/3483
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot properly reload figure that was previously pickled","articleBody":"Dear all,\nI just figure out that matplotlib does not have apparently a simple way to save interactive plots as MATLAB \"fig\" figures. I sincerely hope the \"experimental\" pickling will be soon consolidated because it would be of great benefit for users imho.\n\nBriefly, I followed the simple procedure outlined here in order to pickle and reload figures:\nhttp://stackoverflow.com/questions/7290370/store-and-reload-matplotlib-pyplot-object\n\nIt seems that I am able to pickle the figure indeed, but not to reload it properly.\nThis is what I get:\n\n```\nTraceback (most recent call last):\n File \"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt4.py\", line 299, in resizeEvent\n self.draw()\n File \"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_qt4agg.py\", line 154, in draw\n FigureCanvasAgg.draw(self)\n File \"/usr/lib64/python2.7/site-packages/matplotlib/backends/backend_agg.py\", line 451, in draw\n self.figure.draw(self.renderer)\n File \"/usr/lib64/python2.7/site-packages/matplotlib/artist.py\", line 55, in draw_wrapper\n draw(artist, renderer, *args, **kwargs)\n File \"/usr/lib64/python2.7/site-packages/matplotlib/figure.py\", line 1031, in draw\n dsu = [row for row in dsu if not row[1].get_animated()]\n File \"/usr/lib64/python2.7/site-packages/matplotlib/artist.py\", line 612, in get_animated\n return self._animated\nAttributeError: 'AxesSubplot' object has no attribute '_animated'\n```\n\nAny suggestion? Shall I bother about this?\nI am using matplotlib 1.3.1 on Fedora 20 with QtAgg backend.\n\nThanks for your time,\n\nMaurizio\n","author":{"url":"https://github.com/mdepitta","@type":"Person","name":"mdepitta"},"datePublished":"2014-09-07T16:31:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/3483/matplotlib/issues/3483"}
| 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:212fb3ba-4b34-32cb-e42a-edabfb02f811 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAA0:230914:207D5D6:2C3D005:6A5416D9 |
| html-safe-nonce | cd52beaaf97cd3709223998b24dc5ea99245933182ff735ea8a1c9d94ba8b5b3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUEwOjIzMDkxNDoyMDdENUQ2OjJDM0QwMDU6NkE1NDE2RDkiLCJ2aXNpdG9yX2lkIjoiODIzMjEzNTQ0NTQ3MzEzODM5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | f191ca5776b46ba835aead8e2e592fc90d8c122bbf0c4b1b3454ae3213d04913 |
| hovercard-subject-tag | issue:42145924 |
| 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/3483/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5993dc63997d8af793a6047edbc86f40405469dc29dd94de31eb2756f0486feb/matplotlib/matplotlib/issues/3483 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5993dc63997d8af793a6047edbc86f40405469dc29dd94de31eb2756f0486feb/matplotlib/matplotlib/issues/3483 |
| og:image:alt | Dear all, I just figure out that matplotlib does not have apparently a simple way to save interactive plots as MATLAB "fig" figures. I sincerely hope the "experimental" pickling will be soon consol... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mdepitta |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width