I am trying to figure out how to make only upper error bar with cap "-" in my plot, which I already figured out by lolims argument. Unfortunately, my error bar is marked with an arrow, and I would prefer the default one. The upper subplot is with error bar I would like to have, and the lower one is with the mark I would like to have on my upper subplot.
My code:
import pandas as pd
import matplotlib.pyplot as plt
sheet = pd.read_excel(load file with my data)
fig, axs = plt.subplots(2, 1)
fig.suptitle('Gene expression', fontsize=16)
axs[0].bar(sheet.columns, sheet.iloc[17],hatch="/", color="white", edgecolor="black")
axs[0].errorbar(sheet.columns, sheet.iloc[17], yerr=sheet.iloc[22], capsize=3, ecolor='black', fmt=' ', elinewidth=1,
lolims=True)
axs[1].bar(sheet.columns, sheet.iloc[17],hatch="-", color="white", edgecolor="black")
axs[1].errorbar(sheet.columns, sheet.iloc[17], yerr=sheet.iloc[22], capsize=3, ecolor='black', fmt=' ', elinewidth=1,)
plt.show()
How can I achieve it?

