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
First of all, we use a magic function matplotlib inline
while working with matplotlib
on Jupyter. Magic functions are pre-defined functions to extend the notebook's capabilities.
We use matplotlib inline
so that the plots and graphs are shown next to the code in our notebook and are stored within the notebook. Otherwise, the plots and graphs are displayed in a separate window and not within our notebook.
matplotlib inline
starts with a %
sign as it is a line magic function. So, run the following command before working with matplotlib
in Jupyter notebook.
%matplotlib inline
Taking you to the next exercise in seconds...
Want to create exercises like this yourself? Click here.
No hints are availble for this assesment
Loading comments...