How to make your Matplotlib plot nicer in 15 seconds

Use plt.style.ggplot():

from matplotlib import pyplot as plt
plt.style.use("ggplot")

Before:

After: