The following examples all produce the same (correct) output with a y domain of ["b"]:
Plot.dot(["ab"], {fy: "1"}).plot().scale("y").domain
Plot.dot(new Set(["ab"]), {fy: "1"}).plot().scale("y").domain
However, when an iterator is passed in, no values are rendered and the y domain becomes [undefined, undefined]:
Plot.dot(new Set(["ab"]).values(), {fy: "1"}).plot().scale("y").domain
(edit: simpler repro, but the original use case was Map.values())
The following examples all produce the same (correct) output with a
ydomain of["b"]:However, when an iterator is passed in, no values are rendered and the
ydomain becomes[undefined, undefined]:(edit: simpler repro, but the original use case was
Map.values())