Matplotlib and seaborn 3 · Layout and styling
Use a log scale
Plot values that span several orders of magnitude.
fig, ax = plt.subplots()
ax.plot(x + 1, np.exp(x))
ax.set_yscale("log")
Official Matplotlib and seaborn 3 documentation
More layout and styling commands
All layout and styling commands · Matplotlib and seaborn 3 cheatsheet