sns_draw.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:kaggle-review 作者: daxiongshu 项目源码 文件源码
def distribution(data,xlabel="data",ylabel="percentage",name=None):
    ax = plt.axes()
    ax.set(xlabel=xlabel,ylabel=ylabel)
    ds = sns.distplot(data,ax=ax)
    plt.show()
    if name is not None:
        ds.get_figure().savefig(name)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号