matplotlib linespece code example Example: numpy linspace np.linspace(start = 0, stop = 100, num = 5)