plt.cla() # 清除axes,即当前 figure 中的活动的axes,但其他axes保持不变。
plt.clf() # 清除当前 figure 的所有axes,但是不关闭这个 window,所以能继续复用于其他的 plot。
plt.close() # 关闭 window,如果没有指定,则指当前 window。



https://www.jianshu.com/p/75a62a72e6e9

相关文章:

  • 2021-09-04
  • 2021-11-01
  • 2021-08-13
  • 2022-01-09
  • 2022-12-23
  • 2022-12-23
  • 2021-12-02
  • 2021-11-03
猜你喜欢
  • 2022-12-23
  • 2021-08-04
  • 2021-10-20
  • 2021-12-11
  • 2021-09-23
  • 2021-10-17
  • 2022-12-23
相关资源
相似解决方案