Question · Python course · Module 8: Data Science

Importing Matplotlib

What is the standard import for the pyplot module from Matplotlib?

Answer options

  • import matplotlib.pyplot as plt
  • import pyplot as plt
  • from matplotlib import plot
  • import matplotlib as plt

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