Re: [Matplotlib-users] xlim with dates

2010-03-12 Thread Ryan May
On Fri, Mar 12, 2010 at 1:15 PM, Alex S wrote: > Hi there, does anyone know if there's a simple way to set an axis limit to a > date?  "viewlim_to_dt()" looks promising, but I can't figure out how to use > it... If you've plotted using dates, just use dates for the limits: import matplotlib.pypl

Re: [Matplotlib-users] xlim with dates

2010-03-12 Thread Alex S
Ah perfect, thanks a lot, sorry for the mundane question :) -- View this message in context: http://old.nabble.com/xlim-with-dates-tp27881612p27882177.html Sent from the matplotlib - users mailing list archive at Nabble.com. -

Re: [Matplotlib-users] xlim with dates

2010-03-12 Thread othererik
Alex S wrote: > > Hi there, does anyone know if there's a simple way to set an axis limit to > a date? "viewlim_to_dt()" looks promising, but I can't figure out how to > use it... > > Thanks a lot, > Alex > Alex, I've done something like this in the past: ax.set_xlim( ( min_val,

[Matplotlib-users] xlim with dates

2010-03-12 Thread Alex S
Hi there, does anyone know if there's a simple way to set an axis limit to a date? "viewlim_to_dt()" looks promising, but I can't figure out how to use it... Thanks a lot, Alex -- View this message in context: http://old.nabble.com/xlim-with-dates-tp27881612p27881612.html Sent from the matplot