tkinter 和matplotlib 会导致python意外退出

导入tkinter 再导入matplotlib, 运行后意外退出,崩溃了,你们遇到过吗

应该是matplotlib执行时间过长,导致tkinter的进程卡死了

一般段错误内存泄露 好好分析下你的代码。 用try 语句增加代码健壮性