How do I clear a plot using Plots?

In order to do it programatically my approach is to use InspectDR package(which is based on Gtk). This creates plot windows that can be closed by a dedicated function, as the developer of the package explains in this topic:

I hope this helps.

1 Like