def add_to_bar_plot(ax, x, number, name = '<STR_LIT>', color = '<STR_LIT>'):
plt.sca(ax)<EOL>plt.setp(ax,xticks=np.append(ax.get_xticks(),np.array([x])),xticklabels=[item.get_text() for item in ax.get_xticklabels()] +[name])<EOL>plt.bar([x],number , color = color, width = <NUM_LIT:1.>)<EOL>return ax<EOL>
This function takes an axes and adds one bar to it