1 2 3 4 5 6 7 8 9 10
import matplotlib.pyplot as plt import numpy as np x = np.linspace(-4, 8, 100) plt.plot(x, np.exp(x)) plt.show()