1.设置图例matplotlib.pyplot.legend
matplotlib.pyplot.legend(*args, **kwargs)
参数:
2.参数loc:修改legend的位置
参考文献:
【1】python - matplotlib.legend()函数用法解析 - qq_33221533的博客
matplotlib.pyplot.legend(*args, **kwargs)
参数:
参考文献:
【1】python - matplotlib.legend()函数用法解析 - qq_33221533的博客
相关文章: