Title: [Bug]: Missing axes limits auto-scaling support for LineCollection · Issue #29219 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Missing axes limits auto-scaling support for LineCollection · Issue #29219 · matplotlib/matplotlib
X Title: [Bug]: Missing axes limits auto-scaling support for LineCollection · Issue #29219 · matplotlib/matplotlib
Description: Bug summary Matplotlib is missing auto-scale support for LineCollection. Related issues: #23317 #28403 Code for reproduction from matplotlib import pyplot as plt from matplotlib.collections import LineCollection lc = LineCollection([[(x,...
Open Graph Description: Bug summary Matplotlib is missing auto-scale support for LineCollection. Related issues: #23317 #28403 Code for reproduction from matplotlib import pyplot as plt from matplotlib.collections import ...
X Description: Bug summary Matplotlib is missing auto-scale support for LineCollection. Related issues: #23317 #28403 Code for reproduction from matplotlib import pyplot as plt from matplotlib.collections import ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29219
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Missing axes limits auto-scaling support for LineCollection","articleBody":"### Bug summary\n\nMatplotlib is missing auto-scale support for LineCollection.\r\n\r\nRelated issues:\r\n- https://github.com/matplotlib/matplotlib/issues/23317/\r\n- https://github.com/matplotlib/matplotlib/pull/28403\n\n### Code for reproduction\n\n```Python\nfrom matplotlib import pyplot as plt\r\nfrom matplotlib.collections import LineCollection\r\n\r\nlc = LineCollection([[(x, x ** 2) for x in range(5)]])\r\nax = plt.gca()\r\nax.add_collection(lc)\r\n# ax.autoscale() # need to manually call this\r\nplt.show()\n```\n\n\n### Actual outcome\n\n\r\n\n\n### Expected outcome\n\n\r\n\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nmacOS 14.6.1\n\n### Matplotlib Version\n\n3.9.3\n\n### Matplotlib Backend\n\nmacosx\n\n### Python version\n\n3.12.7\n\n### Jupyter version\n\n7.2.2\n\n### Installation\n\npip","author":{"url":"https://github.com/carlosgmartin","@type":"Person","name":"carlosgmartin"},"datePublished":"2024-12-02T19:38:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/29219/matplotlib/issues/29219"}
| 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:a6f09bd8-ff42-4ddd-2e95-dbd9f960390f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9A68:1ECC24:F7D215:14B06FF:6A52971C |
| html-safe-nonce | cbe0f17532d7945c8cf02c3b40ade9235c184f18e14bcff167412d133effac49 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTY4OjFFQ0MyNDpGN0QyMTU6MTRCMDZGRjo2QTUyOTcxQyIsInZpc2l0b3JfaWQiOiI2NzM5MjgxNzE0NzcyODc1MDM3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1d0cb0ac464319137f697bc52f63035ed559ec7f3dd66e15412cd834b00b7c9f |
| hovercard-subject-tag | issue:2713171520 |
| 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/29219/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f2a4681231855035fa453c7e632c69904703cfa196f20400704eace17a6ddf5a/matplotlib/matplotlib/issues/29219 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f2a4681231855035fa453c7e632c69904703cfa196f20400704eace17a6ddf5a/matplotlib/matplotlib/issues/29219 |
| og:image:alt | Bug summary Matplotlib is missing auto-scale support for LineCollection. Related issues: #23317 #28403 Code for reproduction from matplotlib import pyplot as plt from matplotlib.collections import ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | carlosgmartin |
| 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