I'm using the package Plots with the pyplot backend. By default, errorbars are black. How can I change their color? I want to set it to the same color as the line itself (which should be the default behaviour imho).
using Plots
plot(1:3,1:3,yerr=0.1) # produces a blue line with black errorbars
markerstrokecolor
/msc
sets the color. Normally you'd put points on the plot as well, rather than just the line with error bars, the default is thus to have the stroke around each point in the same color as the error bar. If you feel that another default is better you'd be welcome to open an issue on Plots.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With