From: Benjamin R. <ben...@ou...> - 2011-09-07 19:21:26
|
On Wed, Sep 7, 2011 at 2:14 PM, Joe Kington <jki...@wi...> 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 |