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

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


Solution 1:

Spell it as two words, rather than three:

%matplotlib inline