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: