Warning:More than 20 figures have been opened

matplotlib画图的时候出现这样的警告:

More than 20 figures have been opened. Figures created through the pyplot interface (matplotlib.pyplot.figure) are retained until explicitly closed and may consume too much memory.

查找原因是每条数据画一个图,图画的太多了,画完图关闭就ok

plt.close()

 

 

0
广告位招租

评论0

请先

没有账号? 忘记密码?