End-to-End ML Project- Beginner friendly

42 / 95

Importing pyplot

Now, let's import the pyplot submodule from matplotlib. We can import submodules using two syntaxes in python:

from module_name import submodule_name as alias


import module_name.submodule_name as alias

Import submodule pyplot from matplotlib under the alias plt. You are free to use any of the mentioned syntax.

Note - Having trouble with the assessment engine? Follow the steps listed here

Loading comments...