import matplotlib.pyplot as plt 报错解决方法

import matplotlib
matplotlib.use(“TkAgg”)
##"add this between “import matplotlib” and “import matplotlib.pyplot as plt”##

import matplotlib.pyplot as plt
import numpy as np

猜你喜欢

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