How can I prevent a specific plot to be shown in Jupyter notebook? I have several plots in a notebook but I want a subset of them to be saved to a file and not shown on the
I was able to prevent my figures from displaying by turning interactive mode off using the function
plt.ioff()