Title: Should points with a single infinite coordinate be masked or clipped? · Issue #10452 · matplotlib/matplotlib · GitHub
Open Graph Title: Should points with a single infinite coordinate be masked or clipped? · Issue #10452 · matplotlib/matplotlib
X Title: Should points with a single infinite coordinate be masked or clipped? · Issue #10452 · matplotlib/matplotlib
Description: Initially raised in #9305 (comment) (and following comment). We realized in 2.1 that there is a reasonable argument for plt.plot([1, 1], [1, np.inf]) to draw a semi-infinite vertical line and plt.plot([1, 1], [-np.inf, np.inf]) to draw a...
Open Graph Description: Initially raised in #9305 (comment) (and following comment). We realized in 2.1 that there is a reasonable argument for plt.plot([1, 1], [1, np.inf]) to draw a semi-infinite vertical line and plt.p...
X Description: Initially raised in #9305 (comment) (and following comment). We realized in 2.1 that there is a reasonable argument for plt.plot([1, 1], [1, np.inf]) to draw a semi-infinite vertical line and plt.p...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/10452
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Should points with a single infinite coordinate be masked or clipped?","articleBody":"Initially raised in https://github.com/matplotlib/matplotlib/pull/9305#issuecomment-337787891 (and following comment).\r\n\r\nWe realized in 2.1 that there is a reasonable argument for `plt.plot([1, 1], [1, np.inf])` to draw a semi-infinite vertical line and `plt.plot([1, 1], [-np.inf, np.inf])` to draw an infinite vertical line by default (by having the renderer clip infinities instead of masking them). Right now log scale allows both clipping and masking behavior, but linear scale always masks.\r\n\r\nOf course this is a breaking change, so I'm just opening this for discussion.","author":{"url":"https://github.com/anntzer","@type":"Person","name":"anntzer"},"datePublished":"2018-02-14T07:49:22.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/10452/matplotlib/issues/10452"}
| 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:e8fd1d0f-d335-2863-606a-e1d350bdf47e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD60:1C4F87:B0ED34:ECC572:6A52BAE3 |
| html-safe-nonce | 96444849c12d1e220bafde5b7a078218592ead9909fc4e6b7ea653b2293ce8c0 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDYwOjFDNEY4NzpCMEVEMzQ6RUNDNTcyOjZBNTJCQUUzIiwidmlzaXRvcl9pZCI6Ijg0ODYzNzkxNDg0MTEwNTg5MTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 269890557102dbc54a1e24f52c97706f0741febed3cd1785201b7f0367b01ea9 |
| hovercard-subject-tag | issue:297003328 |
| 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/10452/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0752c6a0bf8f9b678187b84d3ea57aefe3e8926026ade3c43fa422ea7e9d7a4a/matplotlib/matplotlib/issues/10452 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0752c6a0bf8f9b678187b84d3ea57aefe3e8926026ade3c43fa422ea7e9d7a4a/matplotlib/matplotlib/issues/10452 |
| og:image:alt | Initially raised in #9305 (comment) (and following comment). We realized in 2.1 that there is a reasonable argument for plt.plot([1, 1], [1, np.inf]) to draw a semi-infinite vertical line and plt.p... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | anntzer |
| 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