Closed
Description
As of plot v0.6.7
, this code no longer works:
Plot.plot({
marks: [
Plot.line(
data,
Plot.windowY(
{
k: 4,
anchor: "end",
reduce: "median"
},
{
x: "date",
y: "cat"
}
)
)
]
})
mean
works while median
, variance
and others don't.
Example notebook: https://observablehq.com/d/1a581f1609384865
Perhaps I'm holding it wrong, but the docs look borked too:
