热门

最新

红包

立Flag

投票

同城

我的

发布
qq_42801194
Vincy_King
4 年前
trueqq_42801194

Emmm, it's so tired to tackle the problem that the blank figure would be save after use plt.savefit(). Primary solution proposed in Google, Baidu is nothing more than calling plt.show() after plt.savefig(fig). However, it doesn't seem to work for my problem. Suddenly, I remember the code that matplotlib.use('agg') I have ever used. After I utilize the aboved code, the brain topographic map is saved as normal!

CSDN App 扫码分享
分享
评论
点赞
打赏
  • 复制链接
  • 举报
下一条:
开学了,出发了。又一段忙碌的生活开始了。
立即登录