I would like to render a ggplot2 style filled grid, a la 
(source: had.co.nz)
I haven’t been able to find any online resources that deal with styling the grid in such a way. Do I have to resort to doing something like plotting my own rectangular patches?
Edit: after trying Chris’ solution, I have written a script to help make matplotlib graphs look like ggplot2 if anyone is interested.
The following code uses
matplotlib.pyplot.gridto turn on a grid and set the grid properties (line colour, style and width) and then usesplt.gca().patch.set_facecolor('0.8')to change the axes color (I’m not sure if there is, but there must be convenience function to do this). The argument topatch.set_facecoloris any matplotlib colour.The result is