plot_functions.py 文件源码

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

项目:idea_relations 作者: Noahs-ARK 项目源码 文件源码
def start_plotting(fig_size, fig_pos, style="white", rc=None, despine=False):
    with sns.axes_style(style, rc):
        fig = plt.figure(figsize=fig_size)
        if not fig_pos:
            ax = fig.add_subplot(111)
        else:
            ax = fig.add_axes(fig_pos)
    if despine:
        sns.despine(left=True)
    return fig, ax
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号