Python matplotlib画图出现No handles with labels found to put in legend

一、在使用Python matplotlib画图出现No handles with labels found to put in legend ,在本地调试时并不会出现这个错误,而部署到线上服务器以后,便出现这种错误。python 二、报错代码为下面一行:服务器 plt.legend(loc='upper center', bbox_to_anchor=(0.5, -0.03), fancybox
相关文章
相关标签/搜索