np.linspace has a younger brother in NumPy. While linspace generates evenly-spaced numbers, logspace returns evenly-spaced numbers on a log scale. You can choose any base you want.