Feed on
Posts
Comments

to set the range of the x or y axis in a matplotlib figure:

import pylab as pl
pl.xlim([day_min,day_max])
pl.ylim([day_min,day_max])


Bookmark and Share

if that was helpful ...

check out the other tips and tricks i've compiled on these pages. you might learn something else interesting!

Did I get this wrong? Let me know!

Trackback URI | Comments RSS