I have been using Jupyter notebook and matplotlib for several weeks now without any problems. I used the following code at the start of my notebook cells to make matplotlib plot into an external window:
%matplotlib notebook However, today when I run these cells it plots the figure in the same window at the end of the cell right after my code. It puts the interactive options into this plot so it is note the same as using %matplotlib inline.
I need to plot these figures in external windows, not in the same window so what can I do to fix this issue? I tried restarting the kernel and rebooting my PC and relaunching Jupyter notebook, neither worked.
So does anyone know how I can make Jupyter notebook plot matplotlib figures in external windows like it used to?
Edit: I have also tried using the other matplotlib backends (qt, tk, etc..) and they don't make a difference, it still puts the plot at the end of the cell instead of in an external window. I have included a picture below of the plot appearing at the end of the cell.

%matplotlib notebookshould indeed put an interactive plot inside the notebooks output cell. To get an external window one would use%matplotlib tkor%matplotlib qt.%matplotlib notebookactivated. This backend will make an interactive plot display inside the notebook. This is the standard behavior. You need another backend to display externally.