ibex_bluesky_core.callbacks.plotting

IBEX plotting callbacks.

Members

LivePlot

Live plot, customized for IBEX.

class ibex_bluesky_core.callbacks.plotting.LivePlot(y: str, x: str | None = None, yerr: str | None = None, *args: Any, **kwargs: Any)[source]

Bases: LivePlot

Live plot, customized for IBEX.

Initialise LivePlot.

Parameters:
  • y (str) – The name of the dependant variable.

  • x (str or None, optional) – The name of the independant variable.

  • yerr (str or None, optional) – Name of uncertainties signal. Providing None means do not plot uncertainties.

  • *args – As per mpl_plotting.py

  • **kwargs – As per mpl_plotting.py

event(doc: Event) None[source]

Process an event document (delegate to superclass, then show the plot).

start(doc: RunStart) None[source]

Process an start document (delegate to superclass, then show the plot).

update_plot() None[source]

Create error bars if needed, then update plot.

update_yerr(yerr: float | None) None[source]

Update uncertainties data.