I have two pandas series: mean_Series and STD_series. length of each of these series is 160.
I want to plot a line chart of the mean_series and have a shaded region around it using the STD_series.
Data:
> mean_series STD_series
> 1121.22 9.1121
> 1132.22 9.4663
> 1124.22 9.4405
> . .
> . .
> . .
> 1522.25 12.5521
> 1562.25 12.7721
code I have used:
plt.plot(mean_series,label='mean', color='red')
plt.show()
I want to add shaded region around the mean line plot using STD_series.
CodePudding user response: