Skip to content

Commit aa07647

Browse files
committed
Update README
1 parent 08ad11b commit aa07647

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* 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.
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, the shorthand “first” or “last”, 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)