On Wednesday 07 October 2009 16:15:03 mariama...@aquaterraenerg wrote: > Hi, I am quite new to python and matplotlib!! > > When plotting a simple graph using python and matplotlib my plot appears > however the area (background) where my x.label and y.label and axes limits > lie is grey, does anyone know how to set this to another color ie. > white???? > > Thanks > > Maria
import matplotlib.pyplot as plt plt.figure(facecolor='white') # from the docu: # facecolor : the background color; defaults to rc figure.facecolor Kind regards Matthias ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users