Title: [MNT]: Refactor data limit handling · Issue #28816 · matplotlib/matplotlib · GitHub
Open Graph Title: [MNT]: Refactor data limit handling · Issue #28816 · matplotlib/matplotlib
X Title: [MNT]: Refactor data limit handling · Issue #28816 · matplotlib/matplotlib
Description: Summary Currently, the approach is calling _AxesBase.update_datalim in the plot factory functions with an array of points (often with an already reduced list [(xmin, ymin), (xmax, ymax)] but not always. The information is ad-hoc generate...
Open Graph Description: Summary Currently, the approach is calling _AxesBase.update_datalim in the plot factory functions with an array of points (often with an already reduced list [(xmin, ymin), (xmax, ymax)] but not al...
X Description: Summary Currently, the approach is calling _AxesBase.update_datalim in the plot factory functions with an array of points (often with an already reduced list [(xmin, ymin), (xmax, ymax)] but not al...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/28816
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[MNT]: Refactor data limit handling","articleBody":"### Summary\n\nCurrently, the approach is calling `_AxesBase.update_datalim` in the plot factory functions with an array of points (often with an already reduced list `[(xmin, ymin), (xmax, ymax)]` but not always. The information is ad-hoc generated in the factory function.\r\n\r\n\n\n### Proposed fix\n\nWe should switch to pushing the logic for data limit evaluation into the Artists. Then the plot factory functions only query the created Artist for their limits and pass that on.","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2024-09-13T12:49:04.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/28816/matplotlib/issues/28816"}
| 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:712aa4ed-cd20-1a0b-a287-09fb5cf90347 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A2F0:2052BE:222EF0B:2EB78CB:6A541D44 |
| html-safe-nonce | 4a07bf79da13e96a8dc979b2997c214356c3edda9f10e478dbb5ca949551c5a6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkYwOjIwNTJCRToyMjJFRjBCOjJFQjc4Q0I6NkE1NDFENDQiLCJ2aXNpdG9yX2lkIjoiODAwNjkwMDY2NDYxNjg4NTU3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d65d040028074d26b5dbafd3b6a7644369746a533c2263ae5c314634d68fbba9 |
| hovercard-subject-tag | issue:2524767912 |
| 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/28816/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3cfa19d17754aa4c84ac08099c30e87707b63ad2f37bc995e87dc6391754cdf3/matplotlib/matplotlib/issues/28816 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3cfa19d17754aa4c84ac08099c30e87707b63ad2f37bc995e87dc6391754cdf3/matplotlib/matplotlib/issues/28816 |
| og:image:alt | Summary Currently, the approach is calling _AxesBase.update_datalim in the plot factory functions with an array of points (often with an already reduced list [(xmin, ymin), (xmax, ymax)] but not al... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| 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