I can't find a way to control the alignment of points in matplotlib.pyplot in order to more properly center samples within a window. Below is an example where I am plotting two averaged samples with stdev and instead of being uniformly spaced within the window, they are pushed off onto the edges of the plot.
Is there a way to better control this alignment? My code is below for reference.
plt.clf()
plt.errorbar(np.arange(len(rmean)),rmean,yerr=rstddev, linestyle="None", fmt='o')
plt.xlabel('Probes', fontsize=1)
plt.ylabel('VAF')
plt.title('Average VAF Along Probed Regions')
plt.tight_layout()
plt.xticks(np.arange(len(rmean)),labels,rotation='90')
plt.tight_layout()
plt.show()

