pyplot

import matplotlib.pyplot as plt

cla()
  clear the current axis

clf()
  clears the current figure

close(), close( <num>), close( fig), close('all')
  close a/all figure window(s)

ion(), ioff()
  turns the interactive mode on/off
isinteractive()
  returns the interactice status

show()
  shows the figure