python-3.xmatplotlibjupyter-notebookipython-magicpython-magic

Stop the effect of %matplotlib notebook in Jupyter notebook


I used the magic commands %matplotlib notebook at some ceil in my notebook to animate some scatter plots.
However, after that ceil, I want to remove the effect of this magic command.
Anyone has any idea of how to do this?


Solution

  • You can turn the interactive mode off via plt.ioff()