On Wed, Jun 2, 2010 at 10:51 AM, Benjamin Root <ben.r...@ou.edu> wrote:
> This is from the matplotlib-users list.  A user noticed that he can not
> change the background color of a 3d plot with arguments to .savefig().  Is
> this a bug or is it intentional?
>
> Thanks,
> Ben Root

I think it is just that they are implemented differently. The
background of axes3d is not actually a figure background but an axes
patch. If you want, you can make the patch invisible. This will show
the default gray background of the figure. Also, the options like
transparent=True will work.

ax.patch.set_visible(False)

Regards,

-JJ

------------------------------------------------------------------------------

_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to