2020
10-08
10-08
matplotlib图例legend语法及设置的方法
1.图例legend基础语法及用法legend语法参数如下:matplotlib.pyplot.legend(*args, **kwargs)KeywordDescriptionlocLocationcodestring,ortuple(seebelow).图例所有figure位置propthefontproperty字体参数fontsizethefontsize(usedonlyifpropisnotspecified)markerscaletherelativesizeoflegendma...
继续阅读 >