For AI agents: the complete XY documentation index is at llms.txt. Markdown versions are available by appending .md or sending Accept: text/markdown.
Integrations

Integrations

XY's core composition API is framework-neutral. Integrations decide how a composed chart is displayed, how live data reaches it, and where Python event handlers run.

  • Reflex covers static and state-backed charts, semantic events, and streaming through the bundled xy[reflex] integration.
  • Notebooks covers Jupyter, JupyterLab, VS Code, Colab, and Marimo through one bundled anywidget implementation.
  • Matplotlib (xy.pyplot) covers the compatibility boundary and a gradual migration to XY's declarative API.

All three surfaces ultimately use XY rendering and export machinery. The Matplotlib integration has an additional compat mode in which Matplotlib owns Figure/Axes/Artist semantics and geometry while XY's backend converts Matplotlib's draw traversal into a display list consumed by XY's browser and static exporters; the native and declarative paths remain XY-owned end to end.