stanza.plotter
Live plotting for data logging.
Two backends available:
- server: Plots in browser window (works everywhere)
- inline: Plots in notebook cells (requires jupyter_bokeh)
Subpackages
backends- Bokeh backend protocols and base classes.
Module Contents
Functions
Data
logger
_active_servers
__all__
API
Value: getLogger(...)
Value: None
Enable live plotting for a data logger.
Parameters:
data_logger
DataLogger instance
backend
“server” (browser) or “inline” (notebook)
port
Server port (server backend only)
session_token_expiration
Duration in seconds that a session token is valid
Returns:
Backend instance Example (server):
backend = enable_live_plotting(logger, backend=“server”, port=5006)
Open http://localhost:5006 in browser
Example (inline):
backend = enable_live_plotting(logger, backend=“inline”)
Plots appear in notebook cells
Value: ['enable_live_plotting']

