import numpy as np
import matplotlib.pyplot as plt
x = np.linspace(0, 1, 500)y = np.sin(4 * np.pi * x) * np.exp(-5 * x)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// First, the most basic fill plot a user can make with matplotlib:
After Change
x = [0, 0, 1, 2, 2]
y = [0, 1, 2, 1, 0]
fig, ax = plt.subplots()
ax.fill(x, y, zorder=10)
ax.grid(True, zorder=5)