Title: fignum_exists() could handle string numbers? · Issue #2880 · matplotlib/matplotlib · GitHub
Open Graph Title: fignum_exists() could handle string numbers? · Issue #2880 · matplotlib/matplotlib
X Title: fignum_exists() could handle string numbers? · Issue #2880 · matplotlib/matplotlib
Description: It is possible to create a figure with a string "number": figure(num="Charts"), which is used as the window title (if any). This string number is even recognized by pyplot.subplots(…, num="Charts"): it does recover the original figure an...
Open Graph Description: It is possible to create a figure with a string "number": figure(num="Charts"), which is used as the window title (if any). This string number is even recognized by pyplot.subplots(…, num="Charts")...
X Description: It is possible to create a figure with a string "number": figure(num="Charts"), which is used as the window title (if any). This string number is even recognized by pyplot.subpl...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/2880
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"fignum_exists() could handle string numbers?","articleBody":"It is possible to create a figure with a _string_ \"number\": `figure(num=\"Charts\")`, which is used as the window title (if any).\n\nThis string number is even recognized by `pyplot.subplots(…, num=\"Charts\")`: it does recover the original figure and axes.\n\nHowever, `pyplot.fignum_exists(\"Chart\")` returns False.\n\nSo, part of Matplotlib knows that a figure was created (and is open) with a certain string \"number\" (`subplots()`,…), while another part of Matplotlib doesn't (`fignum_exists()`). It would be useful if `fignum_exists()` was aware of figure _string_ numbers too.\n","author":{"url":"https://github.com/lebigot","@type":"Person","name":"lebigot"},"datePublished":"2014-03-09T15:11:01.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/2880/matplotlib/issues/2880"}
| 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:876b440c-a333-a112-0ecf-d4556b8cbdb2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8720:29B748:162EE86:1E8F54A:6A53E0E4 |
| html-safe-nonce | bab8166975006206ea021ed441f1117e6dccc042cf6cef871011b6b5483b97cb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzIwOjI5Qjc0ODoxNjJFRTg2OjFFOEY1NEE6NkE1M0UwRTQiLCJ2aXNpdG9yX2lkIjoiMzczMzI4NzcxODM3OTMxNTQyOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 01a22c316d9c50630bf11da1030ce0edf0890c976365dde2d1c7f7df52d0ae7a |
| hovercard-subject-tag | issue:29049635 |
| 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/2880/issue_layout |
| twitter:image | https://opengraph.githubassets.com/aab713f35e8e0dd5033539d68e7c6a7c2f828de7b400ad94b6b29ff799f7faed/matplotlib/matplotlib/issues/2880 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/aab713f35e8e0dd5033539d68e7c6a7c2f828de7b400ad94b6b29ff799f7faed/matplotlib/matplotlib/issues/2880 |
| og:image:alt | It is possible to create a figure with a string "number": figure(num="Charts"), which is used as the window title (if any). This string number is even recognized by pyplot.subplots(…, num="Charts")... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lebigot |
| 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