Home > OS >  How to change fill pattern (hatch) of the Confidence Interval in the Seaborn Lineplot function
How to change fill pattern (hatch) of the Confidence Interval in the Seaborn Lineplot function

Time:11-11

I have created a simple lineplot with Seaborn using this code:

sns.lineplot(data=data, x='year', y='Value', color='#128094', linewidth=1, estimator=lambda x: x.sum() / 12)

Which produced this:

enter image description here

How could I change the pattern of the Confidence Interval so I get a hatched pattern such as '\\\'?

CodePudding user response:

  • Use err_kws from enter image description here

  • Related