Title: Use autolim kwarg in add_collection to prevent duplication of effort. by efiring · Pull Request #3100 · matplotlib/matplotlib · GitHub
Open Graph Title: Use autolim kwarg in add_collection to prevent duplication of effort. by efiring · Pull Request #3100 · matplotlib/matplotlib
X Title: Use autolim kwarg in add_collection to prevent duplication of effort. by efiring · Pull Request #3100 · matplotlib/matplotlib
Description: This changeset cleans up several problems associated with updating Axes.dataLim. The basic point is that when a method that creates a collection also updates Axes.dataLim, Axes.add_collection() should be called with autolim=False. With autolim=True, add_collection will use a very general method to update the dataLim, but in many cases the method creating the collection can perform the update much more efficiently. Closes #3095, which reported a regression that appears to have been introduced by 88b722f.
Open Graph Description: This changeset cleans up several problems associated with updating Axes.dataLim. The basic point is that when a method that creates a collection also updates Axes.dataLim, Axes.add_collection() sho...
X Description: This changeset cleans up several problems associated with updating Axes.dataLim. The basic point is that when a method that creates a collection also updates Axes.dataLim, Axes.add_collection() sho...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/3100
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:4b6789f3-b1b4-e5f4-bab2-f674ad93d477 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | D0B8:338773:40B9102:5B889CF:6A56CA9B |
| html-safe-nonce | f4b89e42340e7d5e173998a4fbe9ef0efdeb86ac1030015405d316d54e910f1b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMEI4OjMzODc3Mzo0MEI5MTAyOjVCODg5Q0Y6NkE1NkNBOUIiLCJ2aXNpdG9yX2lkIjoiNDU0ODM4MDE1NjQ3ODU0MDQ0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c1f750598300588618e9a795c28d86585f049449c6e6a074c3c692dfa9c88c15 |
| hovercard-subject-tag | pull_request:16571925 |
| 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/3100/files |
| twitter:image | https://avatars.githubusercontent.com/u/85125?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/85125?s=400&v=4 |
| og:image:alt | This changeset cleans up several problems associated with updating Axes.dataLim. The basic point is that when a method that creates a collection also updates Axes.dataLim, Axes.add_collection() sho... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | df99b7164e1d961b639cf5d3cbd6b5ba673edc67bd7e47cdc4746b96099e11ae |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3146ab55fc8763ab0e1d2a875e600b3a545bc751 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width