Skip to content

Commit b882bf1

Browse files
committed
Improve lineplot example
1 parent 685ca8b commit b882bf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

seaborn/basic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,7 +1001,7 @@ def lineplot(x=None, y=None, hue=None, size=None, style=None, data=None,
10011001
:context: close-figs
10021002
10031003
>>> ax = sns.lineplot(x="time", y="firing_rate",
1004-
... size="coherence", style="choice",
1004+
... size="coherence", hue="choice",
10051005
... legend="full", data=dots)
10061006
10071007
Change the range of line widths used to normalize the size variable:
@@ -1010,7 +1010,7 @@ def lineplot(x=None, y=None, hue=None, size=None, style=None, data=None,
10101010
:context: close-figs
10111011
10121012
>>> ax = sns.lineplot(x="time", y="firing_rate",
1013-
... size="coherence", style="choice",
1013+
... size="coherence", hue="choice",
10141014
... sizes=(.2, 1), data=dots)
10151015
10161016
Plot from a wide-form DataFrame:

0 commit comments

Comments
 (0)