It has to do with the rcParams in matplotlib. To solve it, add the following lines at the beginning of your script:
import matplotlibmatplotlib.rcParams.update({'errorbar.capsize': 2})
It also works with plt.bar()
.
It has to do with the rcParams in matplotlib. To solve it, add the following lines at the beginning of your script:
import matplotlibmatplotlib.rcParams.update({'errorbar.capsize': 2})
It also works with plt.bar()
.