SyntaxFix
Write A Post
Hire A Developer
Questions
Instead of %matplotlib inline,it is not a python script so we can write like this it will work from IPython import get_ipython get_ipython().run_line_magic('matplotlib', 'inline')