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
// Outline of the region we"ve filled in
ax.plot(x, y1, c="b", alpha=0.8)
ax.plot(x, y2, c="r", alpha=0.8)
ax.plot([x[0], x[-1]], [y1[0], y1[-1]], c="b", alpha=0.8)
ax.plot([x[0], x[-1]], [y2[0], y2[-1]], c="r", alpha=0.8)
plt.show()