'How to remove background of seaborn lineplot

imgur: seaborn lineplot

My result is correct, but there is a secondary "reflection" of my lineplot of the my lineplot in the background that is 2-4x the size of the output.



Solution 1:[1]

here is a line from 'seaborn' documentation here

Passing the entire dataset in long-form mode will aggregate over repeated values (each year) to show the mean and 95% confidence interval:

Meaning the shaded part that you see in the plot is the 95% confidence interval for all the values of a given timestamp. you have multiple payinguser entries for a given date.

If you do not want to have the shaded part, then try aggregating the data on timestamps to have a single value for each timestamp.

Solution 2:[2]

Make confidence interval = None, in sns.lineplot(...)

sns.lineplot(..., ci=None)

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 PranayModukuru
Solution 2 awakened_iota