On Tuesday, July 19, 2011, José Alexandre Nalon <na...@terra.com.br> wrote:
> Hello,
>
> Em 19/07/2011, às 08:09, Jakub Nowacki escreveu:
>
>> But I've found that _nbins doesn't do
>> anything (also, there is no zaxis object), set_zticks return an error
>> 'AttributeError: 'Axes3DSubplot' object has no attribute 'set_zticks''
>> and set_x(y)ticks changes ticks of not 3d axis but 2d one. Is there any
>> (other) way to influence the number of ticks?
>
> I don't know if that will help you, but I used the command below:
>
> a1.w_yaxis.set_major_locator(LinearLocator(5))
> a1.w_zaxis.set_major_locator(LinearLocator(5))
>
> Notice that you are not using xaxis, yaxis or zaxis, these properties
> do not exist and give you the attribute error you are getting. But,
> adding w_ in front of the name of the axis it works perfectly. You
> can use locators and formatters in this way.
>
> Also, notice that if you want to control axis limits, you should use
> set_xlim3d, set_ylim3d and set_zlim3d. While these commands are a
> little more cumbersome to use, I could get a lot of control over 3d
> plots using them.
>
> Hope this helps!
>

Just a heads-up, this will no longer be necessary in the upcoming
v1.1.0 release. They will still be valid, but not required.

Ben Root

------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to