js 0.3.0
The JS rim covers the grammar, proves it against the crate, and stops leaking
wasm handles.
- Marks:
Cells(matrix/rgb/classes),Range(xy/y/over,
body,marker),Bars.spans/Bars.at/Bars.base.Plot.palette,
Palette,Colormap,tableWith. MappingandViewportare JS values. You never callfree().- Shared goldens:
tests/fixtures/js/goldens.json, written by
cargo run --example js_goldens --features serde, checked in CI against both
the crate and wasm. npx malevich— a tour, orline/hist/barfrom stdin.Plot.renderPixels/Plot.renderBest(JS sniffs the environment; wasm
never does).PlotColumninjects Inkoriginfrom siblings above.- npm README uses the crate's showcase screenshots.