plt.

# clear figures in matplotlib.pyplot as plt
plt.clf() 
plt. clf()
Fancy Falcon