matplotlib’s pixels, in pure JavaScript. A zero-dependency reimplementation of matplotlib 3.11.2’s rendering — its layout, tickers, text and its Agg rasterizer — that runs in Node, browsers and Cloudflare Workers.
All 651,200 pixels are identical, in both themes.
That is the rule for the whole library, not one demo:
node test/compare.tsreplays every fixture matplotlib generated and compares the decoded pixels — 376 of 376 pixel-exact at the time of writing — plus tick, label and legend-extent records, and seeded fuzzers against matplotlib’s tickers (106,000 cases) and date locators (12,000).

Dillon Mulroy wired it into Pi as a codemode charting tool:
Leave a Reply