Title: Omit MOVETO lines from nearest contour logic by ksunden · Pull Request #27334 · matplotlib/matplotlib · GitHub
Open Graph Title: Omit MOVETO lines from nearest contour logic by ksunden · Pull Request #27334 · matplotlib/matplotlib
X Title: Omit MOVETO lines from nearest contour logic by ksunden · Pull Request #27334 · matplotlib/matplotlib
Description: Closes #27333 PR summary I would like to simplify down the reproducer further and add a test, but I think the code change itself is largely good. Just uses path._iter_connected_components() to break apart the connected subpaths so that the MOVETO lines don't get considered as close. There is a small amount of bookkeeping to make sure that the reported index includes all of the subpaths already processed. PR checklist "closes #0000" is in the body of the PR description to link the related issue new and changed code is tested Plotting related features are demonstrated in an example New Features and API Changes are noted with a directive and release note Documentation complies with general and docstring guidelines
Open Graph Description: Closes #27333 PR summary I would like to simplify down the reproducer further and add a test, but I think the code change itself is largely good. Just uses path._iter_connected_components() to bre...
X Description: Closes #27333 PR summary I would like to simplify down the reproducer further and add a test, but I think the code change itself is largely good. Just uses path._iter_connected_components() to bre...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/27334
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:e0cdd71d-a5e7-4f83-ceaa-3e65fa833703 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 954C:1E5BA8:135CF92:1A2CE9F:6A545642 |
| html-safe-nonce | a74b5ffdbe8761feb89a9ef4408e44401916c38f4452a1efe9dc1ff06f55c7ff |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTRDOjFFNUJBODoxMzVDRjkyOjFBMkNFOUY6NkE1NDU2NDIiLCJ2aXNpdG9yX2lkIjoiNjA0MjA0OTg5NjYwNTA0NjMzOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | b171b15f798d028eef19aa69063afb90b96623c415da4674052eec4b51ed0561 |
| hovercard-subject-tag | pull_request:1604967587 |
| 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/27334/files |
| twitter:image | https://avatars.githubusercontent.com/u/2501846?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/2501846?s=400&v=4 |
| og:image:alt | Closes #27333 PR summary I would like to simplify down the reproducer further and add a test, but I think the code change itself is largely good. Just uses path._iter_connected_components() to bre... |
| 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