clear¶

Subplot.clear()¶

Clear the Plot or Subplot. Also performs garbage collection, i.e. runs delete_graphic on all graphics.