x = numpy.random.rand(10)
x = numpy.random.rand(10)
plt.plot(x, y, 'o')
plt.grid(True, color='w', linestyle='-', linewidth=2)
plt.gca().patch.set_facecolor('0.8')
plt.show()
How can I fill a matplotlib grid?