Title: The 'lines.markeredgecolor' now doesn't interfere on the color of errorbar caps by useidemaisachola · Pull Request #29895 · matplotlib/matplotlib · GitHub
Open Graph Title: The 'lines.markeredgecolor' now doesn't interfere on the color of errorbar caps by useidemaisachola · Pull Request #29895 · matplotlib/matplotlib
X Title: The 'lines.markeredgecolor' now doesn't interfere on the color of errorbar caps by useidemaisachola · Pull Request #29895 · matplotlib/matplotlib
Description: PR summary -This change was necessary to resolve a bug: Fixes #29780 -Color of errorbar caps now it's not affected by 'lines.markeredgecolor'. The reason behind the implementation is as follows: The initial issue arose when the caps of the error bars were unintentionally adopting the color red, which was set globally in mpl.rcParams under the 'lines.markeredgecolor' parameter. This global setting was being applied to all markers, including the caps of error bars, causing the caps to appear red even when that wasn't intended. The root cause of the problem was that the marker edge color defined globally (mpl.rcParams['lines.markeredgecolor']) was being inherited by the caps as part of the error bar plot. This caused the color of the caps to match the global red color, even when only the error bars were supposed to be red (through the ecolor parameter). To solve this, we needed to ensure that the caps would use the specified ecolor independently of the global mpl.rcParams['lines.markeredgecolor']. This was achieved by setting the marker edge color for the caps separately, rather than relying on the global configuration. The files that suffered alterations were _axes.py and test_axes.py. PR checklist [ N/A] "closes #0000" is in the body of the PR description to link the related issue new and changed code is tested [ N/A] 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 -This change was necessary to resolve a bug: Fixes #29780 -Color of errorbar caps now it's not affected by 'lines.markeredgecolor'. The reason behind the implementation is a...
X Description: PR summary -This change was necessary to resolve a bug: Fixes #29780 -Color of errorbar caps now it's not affected by 'lines.markeredgecolor'. The reason behind the impleme...
Opengraph URL: https://github.com/matplotlib/matplotlib/pull/29895
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:96cc12bb-05f7-e909-bdcd-12903e49e414 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9536:69D3C:14FECCA:1BB5FCE:6A51BDBA |
| html-safe-nonce | 5105a36c32fdf79386481b1ee6a631c0fd5f1001d747816ef3887962befb9ecc |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTM2OjY5RDNDOjE0RkVDQ0E6MUJCNUZDRTo2QTUxQkRCQSIsInZpc2l0b3JfaWQiOiI3OTkwMjgxMTA4Mjc2MjMxNjEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1c90f7cc06a2a8618ff7b7af513e6d635404cfdbf6e05c99c28b29441a13f29f |
| hovercard-subject-tag | pull_request:2450715163 |
| 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/29895/files |
| twitter:image | https://avatars.githubusercontent.com/u/133992760?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/133992760?s=400&v=4 |
| og:image:alt | PR summary -This change was necessary to resolve a bug: Fixes #29780 -Color of errorbar caps now it's not affected by 'lines.markeredgecolor'. The reason behind the implementation is a... |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width