10分钟
清除绘图
- 你可以通过
pyplot来清除绘图:pyplot.cla():清除current axis。非当前axis不受影响pyplot.clf():清除current figure。但是它不关闭windowpyplot.close():关闭window
2. 你也可以通过面向对象的方法:
Figure.clf():清除该Figure对象的所有内容。
pyplot来清除绘图:
pyplot.cla():清除current axis。非当前axis不受影响pyplot.clf():清除current figure。但是它不关闭windowpyplot.close():关闭window2. 你也可以通过面向对象的方法:
Figure.clf():清除该Figure对象的所有内容。Copyright © 2013-2025 Tencent Cloud.All Rights Reserved. 腾讯云 版权所有
学员评价