On Tue, May 6, 2008 at 9:33 AM, Fabrice Silva <[EMAIL PROTECTED]> wrote:
> Contrary to what the on-line doc says, the set_xticks method of an axes
>  instance does not have the 'minor' keyword argument...
>
>
>    S1.set_xticks(Xticksm, minor=True)
>  TypeError: set_xticks() got an unexpected keyword argument 'minor'
>
>
>  __version__  = '0.90.1'
>  __revision__ = '$Revision: 3333 $'
>  __date__     = '$Date: 2007-05-31 09:52:25 -0400 (Thu, 31 May 2007) $'

This works for me -- I wonder if your version is out of date.  0.90.1
is pretty old

In [7]: ax.set_xticks([1.1,1.2,1.3], minor=True)
Out[7]:
[<matplotlib.axis.XTick instance at 0x817418c>,
 <matplotlib.axis.XTick instance at 0x8f318ec>,
 <matplotlib.axis.XTick instance at 0x8f319cc>]

In [8]: draw()

In [9]: matplotlib.__version__
Out[9]: '0.91.2svn'

JDH

>
>
>  -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>  
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
>  _______________________________________________
>  Matplotlib-users mailing list
>  Matplotlib-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to