如何在pandas.scatter_matrix中更改标记大小?

4

如何在使用python 3.5.2和pandas 0.18.0时更改pandas.scatter_matrix()中的标记大小?

1个回答

5

使用s参数。

from pandas.tools.plotting import scatter_matrix

df = pd.DataFrame(np.random.rand(10, 2))
scatter_matrix(df, alpha=0.5, figsize=(8, 8), diagonal='kde', s=1000)

enter image description here


网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接