Put in order · Python course · Module 8: Data Science

Creating a Matplotlib Chart

Arrange the steps for creating a chart:

Items to put in order

  • ax.set_xlabel() / ax.set_ylabel()
  • fig, ax = plt.subplots()
  • ax.plot(x, y)
  • plt.show()

You can check the correct answer by solving this task in the CodeWorlds game.