Right now we need something like
alt.Y(aggregate=alt.ArgmaxDef(argmax=<f>), field=..., type=...)
to make the following in Vega-Lite:
{aggregate: {argmax: <f>}, field: ..., type: ...}
It would be more natural to allow:
alt.Y(aggregate=alt.Argmax(<f>), field=..., type=...)
Same for argmin. :)
Right now we need something like
to make the following in Vega-Lite:
It would be more natural to allow:
Same for argmin. :)