For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
OverviewCodaControlAPI ReferenceChangelog
OverviewCodaControlAPI ReferenceChangelog
  • Coda API
  • Control API
  • Stanza API
    • stanza
    • cli
    • context
    • device
    • exceptions
    • models
      • plotter
        • backends
        • bokeh
        • inline
        • server
        • utils
    • pyvisa
    • registry
    • timing
    • utils
LogoLogo
On this page
  • Module Contents
  • Classes
  • API
Stanza APIplotterbackends

stanza.plotter.backends.inline

Was this page helpful?
Built with

Inline plotting backend for Jupyter notebooks.

Uses jupyter_bokeh extension for reliable live updates in all notebook environments. Install: pip install jupyter_bokeh

Module Contents

Classes

NameDescription
InlineBackendDisplay live-updating plots directly in notebook cells.

API

1class stanza.plotter.backends.inline.InlineBackend

Display live-updating plots directly in notebook cells.

1start() -> None

Initialize Bokeh notebook output.

1stop() -> None

Clean up resources.

1create_figure(
2 name: str,
3 x_label: str,
4 y_label: str,
5 plot_type: str = 'line',
6 z_label: str | None = None,
7 cell_size: tuple[float, float] | None = None
8) -> None

Create a new plot configuration.

1stream_data(
2 name: str,
3 new_data: dict[str, typing.Any],
4 rollover: int | None = None
5) -> None

Add data to plot and display/update it.

First call displays the plot, subsequent calls update via ColumnDataSource.