小编Boz*_*ang的帖子

我在哪里可以找到有关 seaborn 中的联合绘图函数或 Python 中的 matplotlib 中此参数“joint_kws”的详细定义?

下面是这个功能的说明?

def jointplot(x, y, data=None, kind="scatter", stat_func=stats.pearsonr,
          color=None, size=6, ratio=5, space=.2,
          dropna=True, xlim=None, ylim=None,
          joint_kws=None, marginal_kws=None, annot_kws=None, **kwargs)
Run Code Online (Sandbox Code Playgroud)

以下是最后几个可选参数的说明:

{joint, marginal, annot}_kws : dicts, optional
    Additional keyword arguments for the plot components.
kwargs : key, value pairings
    Additional keyword arguments are passed to the function used to
    draw the plot on the joint Axes, superseding items in the
    ``joint_kws`` dictionary.
Run Code Online (Sandbox Code Playgroud)

文档提到我可以传入'joint_kws'或'marginal_kws'这样的字典来控制情节,但是在哪里可以找到这些字典的定义和用法?我在官方文档中没有看到它。谁能帮我?谢谢!

python matplotlib seaborn jupyter-notebook

5
推荐指数
1
解决办法
1996
查看次数

标签 统计

jupyter-notebook ×1

matplotlib ×1

python ×1

seaborn ×1