matplotlib - how to plot a line in python with an interval at each data point -
using python: have sequence of data points means , list standard deviation each mean. plot means points connected solid line , standard deviation halo around line using same color, changed opacity , width of halo indication of size of std. there 1 plot looks this: time series plot in seaborn , continuous error bars in plotly: data model in first not suitable data far can see , output solution of second suboptimal me. haven't found simple solution in matplotlib. solve plotting data points lines point point , std series of tetragons different opacity. maybe there more comfortable solution out there. in advance!
ps: data looks this:
means = [3, 5, 1, 8, 4, 6]
stds = [1.3, 2.6, 0.78, 3.01, 2.32, 2.9]
Comments
Post a Comment