在这里输入图像描述 所以我有这段代码可以生成一个图:
g=sns.catplot(data=public, x="age", y="number", col="species", kind="strip",
jitter=True, order=order,
palette=palette, alpha=0.5,linewidth=3,height=6, aspect=0.7)
如何更改标记大小?
size=20
行为怪异,似乎缩放绘图区域而不是更改标记大小。我得到:
’.conda-envs/py3/lib/python3.5/site-packages/seaborn/categorical.py:3692: UserWarning: size
参数已重命名为 height
;请更新您的代码。 warnings.warn(味精,用户警告’
原文由 Mark Izraelson 发布,翻译遵循 CC BY-SA 4.0 许可协议
使用 s 而不是大小。默认的 s 是 5。
例子: