I am trying to implement an errobar with caps. This is my code:
fig, ax = plt.subplots() er1 = ax.errorbar("3", x, marker="o", linestyle=&