Ponga la cuadrícula detrás de matplotlib

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