I have several notebooks open in jupyter lab. Just to simplify the number of files open, I occasionally shut down kernels, especially after saving a file. When I reopen the file, the figures from the last generated output are gone. I have to rerun the notebook.
Further investigation reveals these notebooks have %matplotlib widget
in them
How to fix this?