更改 seaborn pairplot 标记的大小 [英] Changing the size of seaborn pairplot markers
本文介绍了更改 seaborn pairplot 标记的大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试用像这样的小点来绘制 seaborn.pairplot:
I'm trying to plot a seaborn.pairplot with small dots like this one:
但是我得到了一个更大的标记,而且我在文档中找不到如何更改它们的大小.我的配对图如下所示:
But I get one with the markers much bigger and I can't find how to change their size in the documentation. My pairplot looks like this:
我用来绘制的代码是:
sns.pairplot(df, diag_kind='kde')
sns.plt.show()
推荐答案
添加这个应该可以解决问题 - 对我有用
Adding this should solve the issue - just worked for me
plot_kws={"s": 3}
这篇关于更改 seaborn pairplot 标记的大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文