6
目前所有的數字說我沒在法拉盛matplotlib
figure(1)
plot(...)
figure(2)
plot(...)
,我想創建第三個數字,只顯示一個。所以:
figure(1)
plot(...)
figure(2)
plot(...)
somemagicFuncToFlushFigures()
figure(3)
plot(...)
show()
只會顯示第三個數字。 我該怎麼做?
這僅關閉活躍人物所有的數字試試。我認爲OP需要'plt.close('all')'。 – jorgeca
'close()'和'close('all')'都不適合我 –