UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure
时间:2020-01-28 14:19:31
收藏:0
阅读:1764
?
>>> plt.show()
__main__:1: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.
?
原因:
发现发生在 coco.py 文件
?
处理办法:
import matplotlib
>>> matplotlib.get_backend()
‘agg‘
>>> matplotlib.use(‘TkAgg‘)
原文:https://www.cnblogs.com/xiexiaokui/p/12237910.html
评论(0)