Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-04 Thread Denis Laxalde
Le jeudi 03 juin 2010 à 11:41 -0400, Jae-Joon Lee a écrit : On Wed, Jun 2, 2010 at 2:46 PM, Denis Laxalde dlaxa...@gmail.com wrote: That would indeed be a better approach. Can somebody points me to the particular methods/attributes to look at ? As far as I can see, there is no public

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-03 Thread Jae-Joon Lee
On Wed, Jun 2, 2010 at 2:46 PM, Denis Laxalde dlaxa...@gmail.com wrote: That would indeed be a better approach. Can somebody points me to the particular methods/attributes to look at ? As far as I can see, there is no public methods/attributes. Can you file a bug so that Reinier (or others)

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-02 Thread Denis Laxalde
This is set in axis3d module (class Axis), by _AXINFO. So far, I haven't found a way to modify colors/transparency but to edit the latter file. Is this hard-coded or is there a way to modify this a posteriori ? Cheers, Denis Le 02-06-2010, Benjamin Root ben.r...@ou.edu a écrit : Huh, how

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-02 Thread Jae-Joon Lee
On Wed, Jun 2, 2010 at 10:42 AM, Denis Laxalde dlaxa...@gmail.com wrote: This is set in axis3d module (class Axis), by _AXINFO. So far, I haven't found a way to modify colors/transparency but to edit the latter file. Is this hard-coded or is there a way to modify this a posteriori ? Cheers,

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-02 Thread Eric Firing
On 06/02/2010 05:53 AM, Jae-Joon Lee wrote: On Wed, Jun 2, 2010 at 10:42 AM, Denis Laxaldedlaxa...@gmail.com wrote: This is set in axis3d module (class Axis), by _AXINFO. So far, I haven't found a way to modify colors/transparency but to edit the latter file. Is this hard-coded or is there a

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-02 Thread Denis Laxalde
On Wed, 02 Jun 2010 06:54:11 -1000, Eric Firing wrote: On 06/02/2010 05:53 AM, Jae-Joon Lee wrote: On Wed, Jun 2, 2010 at 10:42 AM, Denis Laxalde wrote: This is set in axis3d module (class Axis), by _AXINFO. So far, I haven't found a way to modify colors/transparency but to edit the latter

[Matplotlib-users] [mplot3d] change axis background color

2010-06-01 Thread Denis Laxalde
Hi, Is there a way to change (and maybe remove) the background color (gray by default) of axis in mplot3d graphics ? Thanks, Denis -- ___ Matplotlib-users mailing list

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-01 Thread Benjamin Root
Denis, There are probably other ways, but the one that I know off the top of my head is done at the savefig() function. If you want to remove the background entirely, you can specify the keyword argument transparent=True. You can change the color using the facecolor keyword argument. You can

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-01 Thread Denis Laxalde
Hi Ben, Thanks for your answer. Actually, options for savefig seem to only operate on 2D axes whereas I'm trying to change the color of 3D axes (x,y,z) which, by default, have a grid with a gray background. I manage to remove the grid lines but not the background color. (My initial question was

Re: [Matplotlib-users] [mplot3d] change axis background color

2010-06-01 Thread Benjamin Root
Huh, how about that? I never noticed that before. I wonder if that is a bug or if it is intentional? Ben Root On Tue, Jun 1, 2010 at 5:28 PM, Denis Laxalde dlaxa...@gmail.com wrote: Hi Ben, Thanks for your answer. Actually, options for savefig seem to only operate on 2D axes whereas I'm