Mathplotlib Limit X-Axis

ax = plt.gca()
ax.set_xlim([xmin, xmax])
ax.set_ylim([ymin, ymax])
Dizzy Dog