我正在尝试在一张图中绘制来自不同数据帧的多个箱线图。每个数据帧都有不同的长度。
我正在做的事情如下:
sns.boxplot(x=df1['Numbers'])
sns.boxplot(x=df2['Numbers'])
sns.boxplot(x=df3['Numbers'])
sns.boxplot(x=df4['Numbers'])
Run Code Online (Sandbox Code Playgroud)
然而,这样做的输出是所有箱线图都绘制在另一个之上,并且不可能区分任何内容。
你能帮我解决这个问题吗?问候