Matplotlib Adding Grid Lines

In Python, with Pyplot you can use the grid() function to add grid lines to the plot.

Code :