xlim, set y axis


I would like to set the limits of the x axis and get the y scale
adjusted to the new range. I have tried something like
plot.axis('tight', xmin=0, xmax=1), but this shows all the data as
indicated in the documentation. Is there any way to limit the x axis
and set the y axis to tight?