Sharaf Al-Sharif wrote: > Hi, > Is there a way to specify the number of ticks on an axis? Say, I want > the y-axes on all my subplots to have 5 ticks, for example. import matplotlib.ticker as mticker ax.yaxis.set_major_locator(mticker.MaxNLocator(4,steps=[1, 2, 5, 10]))
------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users