Title: Data points beyond axes range plotted when saved to SVG · Issue #5925 · matplotlib/matplotlib · GitHub
Open Graph Title: Data points beyond axes range plotted when saved to SVG · Issue #5925 · matplotlib/matplotlib
X Title: Data points beyond axes range plotted when saved to SVG · Issue #5925 · matplotlib/matplotlib
Description: Data points that lie beyond the axes range are still visible when using savefig to an SVG file. I thought this was solved by #2423, but I'm still getting this as of version 1.5.1. Consider the following snippet: import matplotlib import ...
Open Graph Description: Data points that lie beyond the axes range are still visible when using savefig to an SVG file. I thought this was solved by #2423, but I'm still getting this as of version 1.5.1. Consider the foll...
X Description: Data points that lie beyond the axes range are still visible when using savefig to an SVG file. I thought this was solved by #2423, but I'm still getting this as of version 1.5.1. Consider the ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/5925
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Data points beyond axes range plotted when saved to SVG","articleBody":"Data points that lie beyond the axes range are still visible when using `savefig` to an SVG file. I thought this was solved by #2423, but I'm still getting this as of version 1.5.1.\n\nConsider the following snippet:\n\n``` python\n\nimport matplotlib\nimport numpy as np\nimport matplotlib.pyplot as plt\n\nfig = plt.figure(figsize=(8.0, 5.0))\nax = fig.add_subplot(111)\nax.plot(range(10), [x**2 for x in range(10)])\nax.set_ylim(0, 50)\nplt.savefig(\"test.svg\")\n```\n\nThis produces the following output:\n\n\n\nThe correct output should have been:\n\n\n","author":{"url":"https://github.com/sndrtj","@type":"Person","name":"sndrtj"},"datePublished":"2016-01-27T15:09:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/5925/matplotlib/issues/5925"}
| 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:0bf7acd9-621f-093e-1f87-e732d95fb25e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BA2A:6F3CF:77CF742:A7E318B:6A509006 |
| html-safe-nonce | 421abadcaee4106e0cfc3255073d5865f3181ed6122da8de83c5d6b12b1eddd6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQTJBOjZGM0NGOjc3Q0Y3NDI6QTdFMzE4Qjo2QTUwOTAwNiIsInZpc2l0b3JfaWQiOiIxNTQ4MjczMTUxNDk4MDMxMTEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 99c90b97c2adffc0a59b67dec8a63a01f395eaab5018f51cc89e28e4d9b3475d |
| hovercard-subject-tag | issue:129170896 |
| 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/5925/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9c4871de26763d9a71263767ea85ee7c3744b76fb37f887d206be77de0c57ec4/matplotlib/matplotlib/issues/5925 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9c4871de26763d9a71263767ea85ee7c3744b76fb37f887d206be77de0c57ec4/matplotlib/matplotlib/issues/5925 |
| og:image:alt | Data points that lie beyond the axes range are still visible when using savefig to an SVG file. I thought this was solved by #2423, but I'm still getting this as of version 1.5.1. Consider the foll... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sndrtj |
| hostname | github.com |
| expected-hostname | github.com |
| None | d6dc8294eb500fa36bbc57472d61fe87c522f9c3c1d64f70f4926f66a66a7efb |
| 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 | 7ac0ad2f2c7e4b9056617355fd9e33e22b0c8df9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width