Re: [Matplotlib-users] [mplot3d] remove background

2010-11-30 Thread Benjamin Root
On Sun, Nov 28, 2010 at 7:48 PM, Jae-Joon Lee lee.j.j...@gmail.com wrote: If you want the whole background to disappear, simply call set_axis_off method. ax.set_axis_off() To control the visibility of each element, use something like below. for axis in ax.w_xaxis, ax.w_yaxis, ax.w_zaxis:

[Matplotlib-users] [mplot3d] remove background

2010-11-28 Thread Nicolas Pinto
Dear all, I'm trying to get rid of the mplot3d background (in vain, see below), how can I do this? Thanks for your help. Best, Nicolas demo: from mpl_toolkits.mplot3d import axes3d, axis3d import matplotlib.pyplot as plt import numpy as np fig = plt.figure() ax = axes3d.Axes3D(fig) for

Re: [Matplotlib-users] [mplot3d] remove background

2010-11-28 Thread Benjamin Root
On Sunday, November 28, 2010, Nicolas Pinto nicolas.pi...@gmail.com wrote: Dear all, I'm trying to get rid of the mplot3d background (in vain, see below), how can I do this? Thanks for your help. Best, Nicolas demo: from mpl_toolkits.mplot3d import axes3d, axis3d import

Re: [Matplotlib-users] [mplot3d] remove background

2010-11-28 Thread Nicolas Pinto
Thanks for the quick reply Ben. Let me know how I can help. Regards, N On Sun, Nov 28, 2010 at 6:54 PM, Benjamin Root ben.r...@ou.edu wrote: On Sunday, November 28, 2010, Nicolas Pinto nicolas.pi...@gmail.com wrote: Dear all, I'm trying to get rid of the mplot3d background (in vain, see

Re: [Matplotlib-users] [mplot3d] remove background

2010-11-28 Thread Jae-Joon Lee
If you want the whole background to disappear, simply call set_axis_off method. ax.set_axis_off() To control the visibility of each element, use something like below. for axis in ax.w_xaxis, ax.w_yaxis, ax.w_zaxis: for elt in axis.get_ticklines() + axis.get_ticklabels():