On Sat, Sep 25, 2010 at 8:15 AM, Russell E. Owen <ro...@uw.edu> wrote: > Perhaps I should keep track of the y limits myself. That saves time when > adding a new data point because I can compare it to cached limits > (instead of scanning the whole data set). But it quickly gets messy if > one handles nan correctly and matplotlib already does this so I was > thinking matplotlib must have API code to help with this. But so far > I've not figured it out from the docs (though matplotlib.ticker looks > promising). >
Did you try autoscale_view method? http://matplotlib.sourceforge.net/api/axes_api.html?highlight=autoscale#matplotlib.axes.Axes.autoscale_view Please post a sample script that reproduces the problem. Regards, -JJ ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users