I tried Joe's code, with the call to ax.set_axis_off() moved to right after
add_subplot(), as Ben suggested. The axes are still not disappearing, nor do
they disappear when I interact with it (by rotating the plot).

-- Matt

On Wed, Sep 7, 2011 at 3:21 PM, Benjamin Root <ben.r...@ou.edu> wrote:

> On Wed, Sep 7, 2011 at 2:14 PM, Joe Kington <jking...@wisc.edu> wrote:
>
>> This no longer seems to work with matplotlib 1.0.1.
>>
>> As a quick example:
>>
>> import numpy as np
>> import matplotlib.pyplot as plt
>> from mpl_toolkits.mplot3d import Axes3D
>>
>> fig = plt.figure()
>> ax = fig.add_subplot(111, projection='3d')
>>
>> x,y,z,c = np.random.random((4,10))
>> ax.scatter(x, y, z, c=c)
>> ax.set_axis_off()
>>
>> plt.show()
>>
>> The attached .png shows the result on my system... Is this a bug, or am I
>> doing something strange?
>>
>> Thanks!
>>  -Joe
>>
>>
> Hmmm, try putting that call right after the add_subplot() call.  I don't
> have time to test it out right now, but I wonder if the axes are being drawn
> once prior to the call to set_axis_off().  I would also be interested to
> know if the axes disappear when you interact with it.
>
> Ben Root
>
>
------------------------------------------------------------------------------
Using storage to extend the benefits of virtualization and iSCSI
Virtualization increases hardware utilization and delivers a new level of
agility. Learn what those decisions are and how to modernize your storage 
and backup environments for virtualization.
http://www.accelacomm.com/jaw/sfnl/114/51434361/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to