import matplotlib.pyplot as plt import numpy as np array = np.logspace(start=1, stop=100, num=100, base=3) plt.plot(array) plt.yscale("log")