Change errorbar size
matplotlib
Solution
You can make the error bar thicker by setting the `elinewidth` attribute in the call to errorbar(x,y,...) errorbar documentation. But the length of the error bar is your data: you can't change the length without changing the error that it represents.
import matplotlib.pyplot as plt
# define x,y, y1,y2 here ...
plt.figure()
plt.errorbar(x,y, yerr=[y1,y2], color='red', fmt='.', markersize='10', ecolor='red',capsize=4, elinewidth=2)
Problem
I have to change the size of the markers in my plot (making them bigger). How is it possible to change the width of errorbars too? I'm using `matplotlib`. Thanks. ``` plot=ax.errorbar(x,y, yerr=[y1,y2], color='red', fmt='.', markersize='10', ecolor='red',capsize=4) ```