Title: Fix containment and subslice optim. for steps. by anntzer · Pull Request #6645 · matplotlib/matplotlib · GitHub
Open Graph Title: Fix containment and subslice optim. for steps. by anntzer · Pull Request #6645 · matplotlib/matplotlib
X Title: Fix containment and subslice optim. for steps. by anntzer · Pull Request #6645 · matplotlib/matplotlib
Description: #6497 set the _path attribute of Line2D to the actually drawn path even if the drawstyle is steps-*; however containment tests and the subslice optimization for very long paths were not updated accordingly (see #6615). This patch fixes the issues. Note that contains returns, for events in a horizontal segment of a "steps-mid" drawstyle plot, the index of the point in the segment, regardless of whether the event occured to the left or the right of that point.
Open Graph Description: #6497 set the _path attribute of Line2D to the actually drawn path even if the drawstyle is steps-*; however containment tests and the subslice optimization for very long paths were not updated acc...
X Description: #6497 set the _path attribute of Line2D to the actually drawn path even if the drawstyle is steps-*; however containment tests and the subslice optimization for very long paths were not updated acc...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/6645
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:a93c2f00-26e6-28e4-4ea8-a0aed3d11545 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A784:19C73D:329621D:44BC8CC:6A53E340 |
| html-safe-nonce | dc4b55b05530fe1a421635c97df18e1760dcd5159c8d5dc24451eb3905cabf44 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzg0OjE5QzczRDozMjk2MjFEOjQ0QkM4Q0M6NkE1M0UzNDAiLCJ2aXNpdG9yX2lkIjoiODQ3MTYxMTY4MDc1MjkxOTM2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | e8ffcba20e77c2cdac9b4fd08981df1b91f0ab7fdd33eb56f3a1f264be084ac3 |
| hovercard-subject-tag | pull_request:75222009 |
| 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/6645/files |
| twitter:image | https://avatars.githubusercontent.com/u/1322974?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/1322974?s=400&v=4 |
| og:image:alt | #6497 set the _path attribute of Line2D to the actually drawn path even if the drawstyle is steps-*; however containment tests and the subslice optimization for very long paths were not updated acc... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width