Title: [Doc]: difference between pyplot.draw and fig.canvas.draw_idle · Issue #24578 · matplotlib/matplotlib · GitHub
Open Graph Title: [Doc]: difference between pyplot.draw and fig.canvas.draw_idle · Issue #24578 · matplotlib/matplotlib
X Title: [Doc]: difference between pyplot.draw and fig.canvas.draw_idle · Issue #24578 · matplotlib/matplotlib
Description: Documentation Link https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.draw.html Problem This is equivalent to calling fig.canvas.draw_idle(), where fig is the current figure. To me, draw sounds a synchronous behavior, whereas dr...
Open Graph Description: Documentation Link https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.draw.html Problem This is equivalent to calling fig.canvas.draw_idle(), where fig is the current figure. To me, draw s...
X Description: Documentation Link https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.draw.html Problem This is equivalent to calling fig.canvas.draw_idle(), where fig is the current figure. To me, draw s...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/24578
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Doc]: difference between pyplot.draw and fig.canvas.draw_idle","articleBody":"### Documentation Link\n\nhttps://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.draw.html\n\n### Problem\n\n\u003e This is equivalent to calling `fig.canvas.draw_idle()`, where `fig` is the current figure.\r\n\r\nTo me, `draw` sounds a synchronous behavior, whereas `draw_idle` sounds like an asynchronous behavior. I think this statement of equivalence is confusing, because it claims what sounds to me like two different behaviors, are actually the same.\r\n\r\nCan we elaborate on the equivalence, perhaps making it more clear what `draw_idle` means?\r\n\r\nAlso, on that page, can we link to the docs for `draw_idle` (if there are docs on it)?\n\n### Suggested improvement\n\nI am not familiar with `matplotlib` enough to make a quality suggestion here.","author":{"url":"https://github.com/jamesbraza","@type":"Person","name":"jamesbraza"},"datePublished":"2022-12-02T00:34:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/24578/matplotlib/issues/24578"}
| 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:7aa628cb-186a-fc06-f423-3a5904d65607 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CA60:1EA64A:5002B:6D60F:6A521D12 |
| html-safe-nonce | 4ab6b7f49c1730eba140556980ce98e3eae89b7db28145c33e1f11084950f9c3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDQTYwOjFFQTY0QTo1MDAyQjo2RDYwRjo2QTUyMUQxMiIsInZpc2l0b3JfaWQiOiI2MjEyMzU2NzQwMTQ0NTY5NjE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 2401b6baa7ac078701501bc9c3873cdeb7dcf4dc98ded41ee4204d1d4541b3d6 |
| hovercard-subject-tag | issue:1472143555 |
| 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/24578/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7e1202636780e0d8d5c21073d3e1deea20a17f582abb000158dbab651d56ebee/matplotlib/matplotlib/issues/24578 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7e1202636780e0d8d5c21073d3e1deea20a17f582abb000158dbab651d56ebee/matplotlib/matplotlib/issues/24578 |
| og:image:alt | Documentation Link https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.draw.html Problem This is equivalent to calling fig.canvas.draw_idle(), where fig is the current figure. To me, draw s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jamesbraza |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width