【发布时间】:2021-01-28 16:04:20
【问题描述】:
我有x、mean 和std 的列。我想用使用 seaborn 的标记画线:
import seaborn as sns
import matplotlib.pyplot as plt
x = [0,1,2]
mean = [2,1,3]
std = [0.1,0.4,0.2]
sns.lineplot(x=x,y=mean,marker='o')
如何将std 添加为错误栏?
【问题讨论】:
标签: python matplotlib seaborn errorbar