Hi,

True enough, I didn't tested in a Notebook, but now it seems to work as
well:

https://gist.github.com/pierre-haessig/9779940
http://nbviewer.ipython.org/gist/pierre-haessig/9779940

(just a test with mpl.rcParams['axes.facecolor'] = 'red')

best,
Pierre

Le 25/03/2014 18:20, Adam Hughes a écrit :
> Thanks Pierre.
>
> I tried this with several different color types and couldn't see any
> difference in my plots in the notebook.  Did you by chance try this
> out and see a difference?
>
>
> On Tue, Mar 25, 2014 at 9:51 AM, Pierre Haessig
> <pierre.haes...@crans.org <mailto:pierre.haes...@crans.org>> wrote:
>
>     Hi,
>
>     Le 20/03/2014 18:40, Adam Hughes a écrit :
>     > I am using an IPython notebook style that has a soft, yellow
>     > background that I think is more appealing that white.  When I make a
>     > plot, I'd like the background of the plot (ie, everything that is
>     > outside the x and y axis) to be the same color.  I'm trying to
>     change
>     > the figure.facecolor parameter through rc params but I don't see any
>     > changes.  Is figure.facecolor event he correct parameter?
>     >
>     > Has anyone done this successfully?
>     >
>     I think that 'axes.facecolor' does the job.
>
>     'figure.facecolor' changes the background of the figure outside the
>     plots (axes), that is the background color of the windows (which
>     is not
>     visible in the Notebook).
>
>     best,
>     Pierre
>
>
>     
> ------------------------------------------------------------------------------
>     Learn Graph Databases - Download FREE O'Reilly Book
>     "Graph Databases" is the definitive new guide to graph databases
>     and their
>     applications. Written by three acclaimed leaders in the field,
>     this first edition is now available. Download your free book today!
>     http://p.sf.net/sfu/13534_NeoTech
>     _______________________________________________
>     Matplotlib-users mailing list
>     Matplotlib-users@lists.sourceforge.net
>     <mailto:Matplotlib-users@lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/matplotlib-users
>
>

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to