在 Seaborn 中进行 distplot 时,如何找出使用的 bin 宽度?我有两个数据集我想共享 bin widhts,但不知道如何返回用于第一个数据集的默认值。对于下面的简单示例,我将如何找出使用的 bin 宽度?
import nump as np
import seaborn as sns
f, axs = plt.subplots(1,1)
distribution=np.random.rand(1000)
sns.distplot(distribution, hist=True , kde_kws={"shade": True},ax=axs)
Run Code Online (Sandbox Code Playgroud)