Mettez la grille derrière Matplotlib

plt.grid(True, zorder=-1)
Difficult Dormouse