Close pre-existing figures in matplotlib when running from eclipse

后端 未结 4 1034
悲&欢浪女
悲&欢浪女 2021-02-04 23:27

My question is simple: I have a python script that generates figures using matplotlib. Every time i run it it generates new windows with figures. How can I have the script close

4条回答
  •  轮回少年
    2021-02-04 23:45

    Nothing works in my case using the scripts above but I was able to close these figures from eclipse console bar by clicking on Terminate ALL (two red nested squares icon).

提交回复
热议问题