Title: [Bug]: Setting 'lines.markeredgecolor' affects color of errorbar caps. · Issue #29780 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Setting 'lines.markeredgecolor' affects color of errorbar caps. · Issue #29780 · matplotlib/matplotlib
X Title: [Bug]: Setting 'lines.markeredgecolor' affects color of errorbar caps. · Issue #29780 · matplotlib/matplotlib
Description: Bug summary When setting a color in rcParams for lines.markeredgecolor this color is used for the errorbar caps when plotting with errorbar. No option is able to override this color again. Code for reproduction import matplotlib as mpl i...
Open Graph Description: Bug summary When setting a color in rcParams for lines.markeredgecolor this color is used for the errorbar caps when plotting with errorbar. No option is able to override this color again. Code for...
X Description: Bug summary When setting a color in rcParams for lines.markeredgecolor this color is used for the errorbar caps when plotting with errorbar. No option is able to override this color again. Code for...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29780
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Setting 'lines.markeredgecolor' affects color of errorbar caps.","articleBody":"### Bug summary\n\nWhen setting a color in rcParams for `lines.markeredgecolor` this color is used for the errorbar caps when plotting with `errorbar`. No option is able to override this color again.\n\n### Code for reproduction\n\n```Python\nimport matplotlib as mpl\nimport matplotlib.pyplot as plt\n\nmpl.rcParams['lines.markeredgecolor'] = 'r'\n\nx = range(10)\ny = range(10)\nyerr = [1]*10\n\nplt.errorbar(x,y,yerr=yerr, capsize=10)\nplt.show()\n```\n\n### Actual outcome\n\ncolor of errorbar caps is red\n\n\n### Expected outcome\n\ncolor of errorbar caps is blue\n\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nLinux\n\n### Matplotlib Version\n\n3.10.0\n\n### Matplotlib Backend\n\nqtagg\n\n### Python version\n\n3.13.2\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nconda","author":{"url":"https://github.com/ProodjePindakaas","@type":"Person","name":"ProodjePindakaas"},"datePublished":"2025-03-19T14:19:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/29780/matplotlib/issues/29780"}
| 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:3a45df13-8b38-5cf4-663b-792afbe113a4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | EA9A:29DE49:2C6210:3B0196:6A525A9D |
| html-safe-nonce | 4d2c8391b0d6937177dc89dc1aa237619c2bcac46106788ef89f44630899237c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTlBOjI5REU0OToyQzYyMTA6M0IwMTk2OjZBNTI1QTlEIiwidmlzaXRvcl9pZCI6IjU3MjIyNjE2MzQwNjU1MjEzMDkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5e4166825205e11f3d1edbfab9962f5180e6fcde9815a8830d19dfbaf59ed843 |
| hovercard-subject-tag | issue:2931980812 |
| 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/29780/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d8cc5a69e91bd28263bada203e25b069656a0f492e336f5e98889aee8a785ca6/matplotlib/matplotlib/issues/29780 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d8cc5a69e91bd28263bada203e25b069656a0f492e336f5e98889aee8a785ca6/matplotlib/matplotlib/issues/29780 |
| og:image:alt | Bug summary When setting a color in rcParams for lines.markeredgecolor this color is used for the errorbar caps when plotting with errorbar. No option is able to override this color again. Code for... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ProodjePindakaas |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width