我想创建一个方框图,每个月有两个方框图紧挨着彼此。 我试图用同一个图研究两个不同连续变量的月分布
fig, ax = plt.subplots(figsize=(25,5))
sns.boxplot(x='month',y='Total_Batch_change_cal',data=batch_cha_dist,ax=ax)
sns.boxplot(x='month',y='Batch change duration(min)',data=batch_cha_dist)
ax.set(ylabel='Daily Batch change monthly dist (Hour)')
plt.show()
目前没有回答
相关问题 更多 >
编程相关推荐