如何在Seaborn FacetGrid中绘制误差线?[复制]

How to plot error bars in a Seaborn FacetGrid? [duplicate]

提问人:Leandro 提问时间:11/16/2023 更新时间:11/16/2023 访问量:16

问:

我需要在 Seaborn FacetGrid 上的 pandas 数据帧中绘制此 facetgrid 的误差线

这是我正在使用的代码

g = sns.FacetGrid(df1_melted,col='AA', col_wrap=4)
g = g.map_dataframe(sns.barplot,"VFAs","mgCOD/L",hue='VFAs',errorbar=None,palette = sns.color_palette("bright"))
for ax in g.axes.ravel():
    plt.legend()
    plt.ylim((0, 650))
    plt.legend().remove
蟒蛇 matplotlib 绘图 seaborn

评论


答: 暂无答案