Quantcast
Viewing all articles
Browse latest Browse all 5

Answer by Lucho for Matplotlib Errorbar Caps Missing

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().


Viewing all articles
Browse latest Browse all 5

Trending Articles