How to add a grid on a figure in matplotlib

How to add a grid on a figure in matplotlib

More to explore

Based on this image's title: “How to add a grid on a figure in matplotlib”