Issue
This is my code
fig, ax = plt.subplots(figsize=(50, 30))
sns.lineplot(data=dataframe, x='A', y='B', hue='C', ax=ax)
This was the result: There is a blue line and it is painted in light blue as if it spreads around it.
I only want to see the color of the straight line.
Like this, for example:
What should I do?
Solution
That's the confidence interval that you see. You can supress it by passing ci=None
:
fig, ax = plt.subplots(figsize=(50, 30))
sns.lineplot(data=dataframe, x='A', y='B', hue='C', ax=ax, ci=None)
Answered By - pigrammer
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.