Closed
Description
from stackoverflow:
I am trying to create a plot waith an x range of e.g. 500 milliseconds.
rng = date_range(s,periods=500,freq="U")
df = DataFrame(randn(500),index=rng,columns=["A"])
to plot column A:
df["A"].plot()
The whole plot will be squeezed into a single spike because the x range is defined from Jan-2011 until Jul-2014.
Is there a way to change this?