BoAcharai › Lessons › Jupyter Notebook

Step-by-step lesson · Jupyter Notebook

How to make a plot with matplotlib in Jupyter Notebook

4 steps

  1. Type import matplotlib.pyplot as plt
  2. Type plt.plot(df["x"], df["y"])
  3. Type plt.title("My plot") and plt.show()
  4. Press Shift-Return

More in Jupyter Notebook

All Jupyter Notebook lessons