Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure

总是遇到如下:

解决办法:

fig.savefig(show.png) 

把结果图像保存起来再看吧,较麻烦,不过我还没有找到合适的解决办法。

欢迎评论留言

猜你喜欢

转载自blog.csdn.net/sy20173081277/article/details/84966420