Does "xticks" not do what you want?  Maybe I am misundertsanding because you 
are trying to do something with a raw Artist...

http://matplotlib.org/api/pyplot_api.html?highlight=xticks#matplotlib.pyplot.xticks

Cheers,   Jody


On Feb 20, 2013, at  10:31 AM, patricia <ptramba...@hotmail.com> wrote:

> Hi,
> I am working on a plot that requires AxisArtist and I cannot set the tick
> separation (or nbins) that I want to avoid overlapping of ticklabels. I read 
> http://www.ce.mu.edu.tr/sharedoc/python-matplotlib-doc-1.0.1/html/mpl_toolkits/axes_grid/users/axisartist.html#gridhelper,
>  
> where they suggest to use the classical set_ticks, but it doesn't work.
>  ax.xaxis.set_ticks() does not makes any difference, the ticks are same as
> originally, and
>  ax.axis["left"].set_ticks() results in an error: 'AxisArtist' object has
> no attribute 'set_ticks'  
> Can somebody help me?
> Thanks in advance,
> Patricia
> 
> 
> 
> --
> View this message in context: 
> http://matplotlib.1069221.n5.nabble.com/I-cannot-change-the-axis-tick-separation-or-nbins-in-Axis-artist-tp40446.html
> Sent from the matplotlib - users mailing list archive at Nabble.com.
> 
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> Matplotlib-users mailing list
> Matplotlib-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--
Jody Klymak    
http://web.uvic.ca/~jklymak/





------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to