ReferenceError: IPython is not defined
Problem Description
I use ipython and matplotlib as a package and I meet the error when I try to plot something in vscode.
Solution
I use the %matplotlib notebook here before which caused an error. Replacing the %matplotlib notebook with %matplotlib inline would solve the problem.