I'm plotting a horizontal barplot using matplotlib.pyplot.barh, and want to move the bar positions. I didn't find any argument that supports this. Anyone had the same problem?
ax1.set_title('Number of Accounts', size=12)
ax1.invert_yaxis()
ax1.invert_xaxis()
ax1.barh(c['Customer Group'], c['n_accts'],color='#f4be92')
Right now the bar for 1 is in between 0 and 1, and the one for 2 is in between 1 and 2. Is there a way to move the bars to where their corresponding numbers are?

c['Customer Group']is and how you produced the labels. Both is not shown in the question. See minimal reproducible example.