Title: nbagg backend: multiple execution of same cell with plots · Issue #4457 · matplotlib/matplotlib · GitHub
Open Graph Title: nbagg backend: multiple execution of same cell with plots · Issue #4457 · matplotlib/matplotlib
X Title: nbagg backend: multiple execution of same cell with plots · Issue #4457 · matplotlib/matplotlib
Description: When using matplotlib in the Jupyter Notebook with the notebook (or nbagg) backend, multiple re-executions of of a cell (containing a plot) cause some problems. When using the procedural API: after the second execution of the same cell n...
Open Graph Description: When using matplotlib in the Jupyter Notebook with the notebook (or nbagg) backend, multiple re-executions of of a cell (containing a plot) cause some problems. When using the procedural API: after...
X Description: When using matplotlib in the Jupyter Notebook with the notebook (or nbagg) backend, multiple re-executions of of a cell (containing a plot) cause some problems. When using the procedural API: after...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/4457
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"nbagg backend: multiple execution of same cell with plots","articleBody":"When using matplotlib in the Jupyter Notebook with the `notebook` (or `nbagg`) backend, multiple re-executions of of a cell (containing a plot) cause some problems.\n1. When using the procedural API: after the second execution of the same cell no figure is displayed (until the next `close()` call).\n2. When using the OO API: after each execution, the old fig and ax objects are overwritten, a new figure is created and the RAM is filled with invisible figures. Even `plt.close('all')` does not free any RAM.\n\nRe-executing a cell to tweak or add elements to a plot is a very common use case during interactive sessions.\n\nThis issue was first mentioned in #4456.\n","author":{"url":"https://github.com/tritemio","@type":"Person","name":"tritemio"},"datePublished":"2015-05-22T23:15:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/4457/matplotlib/issues/4457"}
| 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:d8fddfd5-7f54-9df8-fe4a-d47d77ecf20a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A2FE:2080FA:23DB26C:30E76F9:6A54257A |
| html-safe-nonce | 47656dc2fbf5ece117346275b1e71084a9c8e3a0f5fd2ac2207ee12ccaa36471 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkZFOjIwODBGQToyM0RCMjZDOjMwRTc2Rjk6NkE1NDI1N0EiLCJ2aXNpdG9yX2lkIjoiMjM2MTE5NTc3NjQxNDMyODE4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 77c521d13acb212dc1e051525cbc075b92883f5e866219685de58931f43d1365 |
| hovercard-subject-tag | issue:79648160 |
| 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/4457/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b3391a864bca033f2d50cb14bbed2c694790b58a3dcfb6b5d6fadf975c36fd1/matplotlib/matplotlib/issues/4457 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b3391a864bca033f2d50cb14bbed2c694790b58a3dcfb6b5d6fadf975c36fd1/matplotlib/matplotlib/issues/4457 |
| og:image:alt | When using matplotlib in the Jupyter Notebook with the notebook (or nbagg) backend, multiple re-executions of of a cell (containing a plot) cause some problems. When using the procedural API: after... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tritemio |
| 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