Matplotlib offers these functions:

cla()   # Clear axis
clf()   # Clear figure
close() # Close a figure window

When should I use each function and what exactly does it do?

3 s
3

Leave a Reply

Your email address will not be published. Required fields are marked *