import matplotlib.pyplot as plt import numpy as np def plot_parabola(): # create 1000 equally spaced points between -10 and 10 x = np.linspace(-10, 10, 1000) y = x**2 fig, ax = plt.subplots() ax.plot(x, y) plot_parabola()
You cannot copy content of this page