The syntax is plot(x,y,ribbon=(0.25, 0.5),label="y").
Thanks @mkborregaard. Is there a way to use ribbon if the margin does change at each datapoint?
you should be able to pass ribbon = (down, up) where down and up are vectors - you just don't need to add them to y like you did
Most helpful comment
you should be able to pass
ribbon = (down, up)wheredownandupare vectors - you just don't need to add them toylike you did