I found out how to find the 95% confidence interval with scipy.stats.t this way
In [1]: from scipy.stats import t In [2]: t.interval(0.95, 10, loc=1, scale=2)
However, visualization is important to me. I am wondering how can I show a confidence interval line on each node of my curve in matplotlib ?
What I expect is something like this

user2881553
source share