Title: Fixes #12926 - inconsistency upon passing C in hexbin by krooijers · Pull Request #26113 · matplotlib/matplotlib · GitHub
Open Graph Title: Fixes #12926 - inconsistency upon passing C in hexbin by krooijers · Pull Request #26113 · matplotlib/matplotlib
X Title: Fixes #12926 - inconsistency upon passing C in hexbin by krooijers · Pull Request #26113 · matplotlib/matplotlib
Description: PR summary Closes #12926 Around line 4998 in _axes.py two code paths diverge, depending on whether parameter C is given. The strict inequality between accum and mincnt in L5003 when C == None is not symmetric to the strict inequality at L5017, when C != None. This causes data points to become "hidden", when the number of data points (accum) is equal to mincnt. 'Tis but a scratch: changing > mincnt to >= mincnt was enough to get consistent hexbin plots. hexbin result before hexbin result after 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 [N/A] New Features and API Changes are noted with a directive and release note [N/A] Documentation complies with general and docstring guidelines
Open Graph Description: PR summary Closes #12926 Around line 4998 in _axes.py two code paths diverge, depending on whether parameter C is given. The strict inequality between accum and mincnt in L5003 when C == None is no...
X Description: PR summary Closes #12926 Around line 4998 in _axes.py two code paths diverge, depending on whether parameter C is given. The strict inequality between accum and mincnt in L5003 when C == None is no...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/26113
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:5f636a5a-bafb-7bf2-cea1-2cf1d86793e2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BB70:24214A:23F0294:30E8E3B:6A542A46 |
| html-safe-nonce | 60c12d42f8c6189e950a2b6e6d43ba8406d3ab1cd9c061f9e0fa513ee83b1c03 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQjcwOjI0MjE0QToyM0YwMjk0OjMwRThFM0I6NkE1NDJBNDYiLCJ2aXNpdG9yX2lkIjoiNzc5MDk0Nzk5MDk4NzA5MDUwMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3f45ab7e66c7620fb40775062bff660f91ae03620a37da8b504eeaca17ae828a |
| hovercard-subject-tag | pull_request:1389255912 |
| 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/26113/files |
| twitter:image | https://avatars.githubusercontent.com/u/28384651?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/28384651?s=400&v=4 |
| og:image:alt | PR summary Closes #12926 Around line 4998 in _axes.py two code paths diverge, depending on whether parameter C is given. The strict inequality between accum and mincnt in L5003 when C == None is no... |
| 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