UsageError: Line magic function `%` not found. Jupyter Notebook

Python 3.xJupyter NotebookIpython

Python 3.x Problem Overview


I am getting an error on the following line in my Jupyter Notebook

% matplotlib inline

I am using Python version 3.7, ipython version 7.0.1

Python 3.x Solutions


Solution 1 - Python 3.x

Spell it as two words, rather than three:

%matplotlib inline

Solution 2 - Python 3.x

Spell it as two words, rather than three: %%matplotlib inline

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionAsif KhanView Question on Stackoverflow
Solution 1 - Python 3.xJ_HView Answer on Stackoverflow
Solution 2 - Python 3.x350740378View Answer on Stackoverflow