[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():

[Matplotlib-users] subclassing AutoDateFormatter correctly

2010-11-28 Thread C M
How can I correctly subclass AutoDateFormatter and use it in my code? What I am doing is copying the code from matplotlib's AutoDateFormatter and changing the strings for how the dates are represented and making that a class, MyAutoDateFormatter. AutoDateFormatter expects a locator, and I think

Re: [Matplotlib-users] display multi languages in a string.

2010-11-28 Thread Jae-Joon Lee
Unfortunately, matplotlib does not support fontset, and only a single font file can be used at a time. If you need to to use multiple fonts within a single text string, the only workaround I can think of is to use the offsetbox module to make a text for each font and concatenate them. If you're