Title: unavoidable warnings in nbagg on `plt.close` · Issue #25181 · matplotlib/matplotlib · GitHub
Open Graph Title: unavoidable warnings in nbagg on `plt.close` · Issue #25181 · matplotlib/matplotlib
X Title: unavoidable warnings in nbagg on `plt.close` · Issue #25181 · matplotlib/matplotlib
Description: I received similar MatplotlibDeprecationWarning when using pp.close(_fig): MatplotlibDeprecationWarning: The close_event function was deprecated in Matplotlib 3.6 and will be removed two minor releases later. Use callbacks.process('close...
Open Graph Description: I received similar MatplotlibDeprecationWarning when using pp.close(_fig): MatplotlibDeprecationWarning: The close_event function was deprecated in Matplotlib 3.6 and will be removed two minor rele...
X Description: I received similar MatplotlibDeprecationWarning when using pp.close(_fig): MatplotlibDeprecationWarning: The close_event function was deprecated in Matplotlib 3.6 and will be removed two minor rele...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/25181
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"unavoidable warnings in nbagg on `plt.close`","articleBody":" I received similar MatplotlibDeprecationWarning when using pp.close(_fig):\r\nMatplotlibDeprecationWarning: The close_event function was deprecated in Matplotlib 3.6 and will be removed two minor releases later. Use callbacks.process('close_event', CloseEvent(...)) instead.\r\n\r\nI am using WSL1, python 3.11.1, matplotlib==3.6.2 and matplotlib.use('nbAgg'). \r\n\r\nI was not able to find any instructions how to close the figure differently.\r\n\r\n_Originally posted by @mivanc in https://github.com/matplotlib/matplotlib/issues/23921#issuecomment-1423721213_\r\n \r\n\r\n\r\nI can confirm this behavior.","author":{"url":"https://github.com/tacaswell","@type":"Person","name":"tacaswell"},"datePublished":"2023-02-09T18:34:20.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/25181/matplotlib/issues/25181"}
| 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:ef022114-0466-4f9d-d4a5-10898ebd4ef8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA20:139708:4115495:5B294F9:6A50CC55 |
| html-safe-nonce | d3425f33efdf207415c75eef70ddaed6bf1c1e340f5c4ed2eb55765ad919a13e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTIwOjEzOTcwODo0MTE1NDk1OjVCMjk0Rjk6NkE1MENDNTUiLCJ2aXNpdG9yX2lkIjoiNTkwMjEzNjczMjczMjY3MzEwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 83716846fa76caddb82c0981b1f38ce344df60c1d3b919a82b9e1114474ec115 |
| hovercard-subject-tag | issue:1578402587 |
| 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/25181/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3c18cb49ca35ebb69f8cd059060677fc110ff5d11597d61338326ff3cb137eff/matplotlib/matplotlib/issues/25181 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3c18cb49ca35ebb69f8cd059060677fc110ff5d11597d61338326ff3cb137eff/matplotlib/matplotlib/issues/25181 |
| og:image:alt | I received similar MatplotlibDeprecationWarning when using pp.close(_fig): MatplotlibDeprecationWarning: The close_event function was deprecated in Matplotlib 3.6 and will be removed two minor rele... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tacaswell |
| hostname | github.com |
| expected-hostname | github.com |
| None | 72b13e0e8d0319acdd27a145cfe73f4f06c791713d0ac4690e41fb68ad28cac0 |
| 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 | 08e79d53fc070870d5b168356afebb1e286a2ffe |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width