I see the same thing here (from within ipython -pylab), and moving the
ax.set_axis_off() immediately after the add_subplot call doesn't
change anything. Interacting with the plot doesn't change anything
either.
Ethan
On Sep 7, 2011, at 1:21 PM, Benjamin Root 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
------------------------------------------------------------------------------
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