Plotter

For conceptual usage, see:

class pyrogue.pydm.widgets.Plotter(parent=None, init_channel=None, show_toolbar=True)[source]

PyDM widget that displays an incoming matplotlib figure published by a pyrogue Variable.

Parameters:
  • parent (QWidget | None, default: None) – Parent Qt widget.

  • init_channel (str | None, default: None) – Initial Rogue channel address.

  • show_toolbar (bool, default: True) – If True, display the matplotlib navigation toolbar above the plot.

closeEvent(event)[source]

Release embedded plot resources when the widget closes.

Return type:

None

connection_changed(connected)[source]

Build the layout after the first successful channel connection.

Return type:

None

Parameters:

connected (bool)

value_changed(new_val)[source]

Replace the displayed plot with the latest incoming figure.

Return type:

None

Parameters:

new_val (object)