你可以在本地机器显示远程机器上运行 plt.show() 显示的窗口。
plt.show()
-X
ssh -X [email protected]
其他GUI软件也是可以显示的,比如 gedit , pycharm 等
gedit
pycharm