matplotlib.pyplot画图是报错的处理方法

按下面方式处理即可:
matplotlib.use(“TkAGG”)
import matplotlib.pyplot as plt

猜你喜欢

转载自blog.csdn.net/weixin_43055882/article/details/85202743