End-to-End ML Project- Beginner friendly

41 / 94

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

OR

import module_name.submodule_name as alias
INSTRUCTIONS

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...