Is your feature request related to a problem? Please describe.
Plotting in parallel causes problems. It would be easy to have those calls cause problems with jupyterconfig even given the # @ignore syntax.
Describe the solution you'd like
When the python script is made from the notebook workflow the writing function could skip lines that are calling plot_image. Ideally we'd know how you have to call plot_image based on your import statements but it is hard to imagine where you would want to call a function called plot_image from any namespace, so many that is overkill.
Describe alternatives you've considered
Changing plot_image to respect verbosity differently while in parallel.