擅长:python、mysql、java
<p>因为您已经在<code>sns.distplot</code>中使用<code>label=</code>标记了绘图,所以您所要做的就是显示图例。这是通过在<code>plt.show()</code>之前添加<code>plt.legend()</code>来完成的</p>
<p>有关matplotlib图例的更多信息,请参见<a href="https://matplotlib.org/users/legend_guide.html" rel="noreferrer">documentation</a></p>