Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed
Labels
Milestone
Description
Bug summary
When setting a color in rcParams forlines.markeredgecolor
this color is used for the errorbar caps when plotting witherrorbar
. No option is able to override this color again.
Code for reproduction
importmatplotlibasmplimportmatplotlib.pyplotaspltmpl.rcParams['lines.markeredgecolor']='r'x=range(10)y=range(10)yerr= [1]*10plt.errorbar(x,y,yerr=yerr,capsize=10)plt.show()
Actual outcome
Expected outcome
color of errorbar caps is blue
Additional information
No response
Operating system
Linux
Matplotlib Version
3.10.0
Matplotlib Backend
qtagg
Python version
3.13.2
Jupyter version
No response
Installation
conda