XY capability atlas

Delivery modes · data · live Python

Choose the host.
Keep the contract.

All gallery charts are actual XY exports. Standalone HTML can hover, pan, zoom and use client controls; future Python updates and callbacks need a running host.

Standalone HTML

Self-contained client and data, with no CDN. Explore/download any chart. Each file is a snapshot; re-export after Python mutation.

Notebook widget

Use chart.widget() with a live kernel for callbacks, programmatic selection and streamed append batches. A static screenshot does not establish callback delivery.

Host and data Python recipe

Reflex application

The source demonstrates four tiers: a concrete chart for static Reflex export, shared inline live events, @data column updates and @figure structural updates. The last three need a running Python backend. GitHub Pages serves their source and chart snapshots.

Executable integration recipe

Run locally

uv run --script build.py --output-dir gallery
uv run --script host_examples.py --output-dir results
uv run --with "xy[reflex]==0.0.8" --with "reflex==0.10.0" --script host_examples.py --output-dir live-results --with-reflex

Download and extract all source files together. The JSON reports record which native/programmatic paths actually ran. Optional integrations declare their dependencies in the source.

Generated host artifacts

Core snapshots, source and reports are generated during this build. Optional Reflex compilation is requested with the explicit extras above; callback delivery still needs an actual running frontend.

Coverage boundaries

The atlas covers all installed top-level public exports in its catalogue and demonstrates each implemented visual family in two palettes. Numeric arguments, arbitrary data, CSS strings and callback code have unbounded combinations. Parameters marked “available option” are indexed from signatures rather than falsely counted as independently tested examples.

XY 0.0.8 is the pinned baseline. All data are fictional. Derived-tone cards intentionally demonstrate native interpolation, opacity, gradients or density; exact-paint cards use canonical base colors. This distinction also applies to antialiased raster edges.

Official source: public API, styling registry, documentation.