Public Types
The supported root surface is available from import xy. Most users
construct lowercase factory results and only name these types in annotations.
Declarative Types
Directly constructing node dataclasses is supported for inspection and typing, but the lowercase factories perform the intended validation and normalization.
Output and Interaction Types
Engine.auto is the default for to_image() and write_image(): it selects
XY's native, browser-free renderer unless custom_css requires a browser CSS
engine. Engine.default explicitly selects the native renderer, while
Engine.chromium selects browser-fidelity export. Use enum members rather than
temporary historical string values.
Canonical Column Types
These types are public for advanced inspection. They are not a separate high-level data-frame API, and their internals may evolve during alpha.
Public Constants
CHART_DOM_SLOTSis the tuple of accepted browser chrome slot names.__version__reports the installed package version.
The old fluent Figure class is not root-exported. Chart.figure() returns an
internal engine object as an advanced escape hatch; do not import
xy._figure.Figure as an application API.
XY ships a package-wide py.typed marker. The authoritative runtime inventory
is xy.__all__, and Marks and components
contains generated callable signatures.