matplotlib中cla() clf() close()用途

cla()   # Clear axis即清除当前图形中的当前活动轴。其他轴不受影响。
clf()   # Clear figure清除所有轴,但是窗口打开,这样它可以被重复使用。
close() # Close a figure window

猜你喜欢

转载自blog.csdn.net/o0haidee0o/article/details/80516200
CLA