I am using ipython with matplotlib. Is it possible to configure the default background color for matplotlib plots? The curent (white) colour must come from somewhere. Is it possible to override it to, lets say, #CCCCCC?
Note: By default, I don't mean default for a given ipython notebook. I mean default for my matplotlib installation.
The solution suggested by @Ffisegydd works. however, after setting axes.facecolor : F4EAEA, I still get white edges around the plot:

How can I get rid of those?
UPDATE:
now I have following set in my /etc/matplotlibrc and I have restarted ipython notebook after each change;
axes.facecolor : F4EAEA figure.facecolor : F4EAEA figure.edgecolor : F4EAEA savefig.facecolor : F4EAEA savefig.edgecolor : F4EAEA The plot looks the same as on the original screenshot. i.e. there is the white stripe around the plot.
UPDATE2:
I am using ipython, and I have following custom css in my ~/.config/ipython/profile_nbserver/static/custom/custom.css
div.output_area { border-radius: 4px; background: #F4EAEA !important; border: thin solid #4a4a4a; } 
cssdoes not interfere in how images are rendered.