Title: qt backend has more draws than necessary by jrevans · Pull Request #4943 · matplotlib/matplotlib · GitHub
Open Graph Title: qt backend has more draws than necessary by jrevans · Pull Request #4943 · matplotlib/matplotlib
X Title: qt backend has more draws than necessary by jrevans · Pull Request #4943 · matplotlib/matplotlib
Description: Sometimes (such as at widget creation), Qt tries to paint itself before matplotlib has called 'draw'. It seems like someone the Agg draw here to solve this problem. We cannot and should not call this every time Qt wants to paint itself. That costs a huge hit in performance because then matplotlib would be refreshing the Agg backend twice for every call to 'draw'. This fixes it so that if Qt tries to paint itself before the Agg buffers have been updated, then it will cause Agg to update itself first. This addresses an issue in #4897.
Open Graph Description: Sometimes (such as at widget creation), Qt tries to paint itself before matplotlib has called 'draw'. It seems like someone the Agg draw here to solve this problem. We cannot and should n...
X Description: Sometimes (such as at widget creation), Qt tries to paint itself before matplotlib has called 'draw'. It seems like someone the Agg draw here to solve this problem. We cannot and ...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/4943
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e49594bb-a1d1-1bb6-75a6-ced452ce13f5 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 86A0:4DD3F:1A7B1B9:2369757:6A536197 |
| html-safe-nonce | 97e9f700f1c843e4d348020b0e4206c74db421fb2c9bfff11a4c1035b55469eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NkEwOjRERDNGOjFBN0IxQjk6MjM2OTc1Nzo2QTUzNjE5NyIsInZpc2l0b3JfaWQiOiIyMjQ0MTkwMzI3NDIxNDkzNjU1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 5da4c4c00939add22bf3bf4c59d71398ee36e11507b110697649471a112d8cac |
| hovercard-subject-tag | pull_request:42639970 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/matplotlib/matplotlib/pull/4943/files |
| twitter:image | https://avatars.githubusercontent.com/u/583007?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/583007?s=400&v=4 |
| og:image:alt | Sometimes (such as at widget creation), Qt tries to paint itself before matplotlib has called 'draw'. It seems like someone the Agg draw here to solve this problem. We cannot and should n... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 | true |
| 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