Skip to content

Commit 08ad11b

Browse files
committed
Update README
1 parent b0c20d0 commit 08ad11b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1670,7 +1670,7 @@ The select transform derives a filtered mark index; it does not affect the mark
16701670

16711671
#### Plot.select(*selector*, *options*)
16721672

1673-
Selects the points of each series selected by the *selector*, which can be specified either as a function which receives as input the index of the series, or as a {key: value} object with exactly one key representing a channel and the value being a function which receives as inputs the index of the series and the channel or the shorthand “min” and “max” which respectively select the least and greatest points for the specified channel.
1673+
Selects the points of each series selected by the *selector*, which can be specified either as a function which receives as input the index of the series, or as a {*key*: *value*} object with exactly one *key* being the name of a channel and the *value* being a function which receives as input the index of the series and the channel values. The *value* may alternatively be specified as the shorthand “min” and “max” which respectively select the minimum and maximum points for the specified channel.
16741674

16751675
For example, to select the point within each series that is the closest to the median of the *y* channel:
16761676

0 commit comments

Comments
 (0)