How to make your Matplotlib plot nicer in 15 seconds
Use plt.style.ggplot()
:
matplotlib_nicer.py
from matplotlib import pyplot as plt
plt.style.use("ggplot")
Before:
Check out similar posts by category:
Python
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow