Legen Sie das Netz hinter Matplotlib

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