Enrollments closing soon for Post Graduate Certificate Program in Applied Data Science & AI By IIT Roorkee | 3 Seats Left
Apply NowLogin using Social Account
     Continue with GoogleLogin using your credentials
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
Import submodule pyplot
from matplotlib
under the alias plt
. You are free to use any of the mentioned syntax.
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
Note - Having trouble with the assessment engine? Follow the steps listed here
Loading comments...