提问人:Leandro 提问时间:11/16/2023 更新时间:11/16/2023 访问量:16
如何在Seaborn FacetGrid中绘制误差线?[复制]
How to plot error bars in a Seaborn FacetGrid? [duplicate]
问:
这个问题在这里已经有答案了:
使用不对称自定义误差线按组制作 seaborn.barplot (1 个答案)
catplot 的自定义误差线,在分面中具有分组条形 (1 个答案)
为什么 seaborn 图不显示置信区间/误差线? (1 个答案)
8天前关闭。
我需要在 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
答: 暂无答案
评论