Syl*_*ain 6 python histogram seaborn
我有一个9万对的阵列,我想用seaborn jointplot绘制.有没有办法调整侧面直方图箱尺寸?我应该尝试用其他包装绘图吗?
您应该可以使用marginal_kws来调整垃圾箱.从这里的seaborn文档中提取示例:
g = sns.jointplot("petal_length", "sepal_length", data=iris,
marginal_kws=dict(bins=15, rug=True),
annot_kws=dict(stat="r"),
s=40, edgecolor="w", linewidth=1)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
5027 次 |
| 最近记录: |