How can I make a 3D plot without showing the axes?
When plotting a 3d plot, Matplotlib not only draws the x, y, and z
axes, it also draws light gray grids on the x-y, y-z, and x-z planes.
I would like to draw a free-floating 3D graph, with none of these
elements. My matplotlib.__version__ is
On Wed, Sep 7, 2011 at 1:34 PM, Matthew Koichi Grimes m...@cs.nyu.eduwrote:
How can I make a 3D plot without showing the axes?
When plotting a 3d plot, Matplotlib not only draws the x, y, and z
axes, it also draws light gray grids on the x-y, y-z, and x-z planes.
I would like to draw a
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,
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
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:
Interestingly, things work perfectly with the latest build from guithub.
Presumably the bug was fixed already?
On Wed, Sep 7, 2011 at 2:40 PM, Matthew Koichi Grimes m...@cs.nyu.eduwrote:
I tried Joe's code, with the call to ax.set_axis_off() moved to right after
add_subplot(), as Ben
On Wed, Sep 7, 2011 at 2:43 PM, Joe Kington jking...@wisc.edu wrote:
Interestingly, things work perfectly with the latest build from guithub.
Presumably the bug was fixed already?
Uhm, sure! I totally intended for that nasty bug to be fixed for the
upcoming release... _
Seriously, though, I
Thanks Ben, I for one would be very interested in any workarounds you might
find that don't require an upgrade from 1.0.1.
-- Matt
On Wed, Sep 7, 2011 at 4:04 PM, Benjamin Root ben.r...@ou.edu wrote:
On Wed, Sep 7, 2011 at 2:43 PM, Joe Kington jking...@wisc.edu wrote:
Interestingly, things
On Wed, Sep 7, 2011 at 3:13 PM, Matthew Koichi Grimes m...@cs.nyu.eduwrote:
Thanks Ben, I for one would be very interested in any workarounds you might
find that don't require an upgrade from 1.0.1.
-- Matt
Ok, looks like the hiding of the 3d axes was a feature added after the v1.0
release