How to use custom error bar in seaborn lineplot?
问题 I am using seaborn.lineplot to generate some time series plots. I have pre-compute a specific kind of error bars in two lists, e.g., upper=[1,2,3,4,5] lower=[0,1,2,3,4] . Is there a way I could customize the error bar here, instead of using the CI or Std error bars in lineplot ? 回答1: If you want error bands/bars other than the ones that seaborn.lineplot offers, you have to plot them yourself. Here are a couple examples of how to draw an error band and error bars in matplotlib and get plots