Matplotlib
Plot a Math Function in Matplotlib with NumPy linspace
Plot y = f(x) in Matplotlib by building x with np.linspace, calling the function on the whole array, and passing both to ax.plot. Covers point counts, several functions, discontinuities, piecewise functions, parametric curves, and implicit equations.