actions: Actions for PlotWidget¶
The PlotAction is a base class used to define plot actions.
Plot actions serve to add menu items or toolbar items that are associated with a method
that can interact with the associated PlotWidget.
For an introduction to creating custom plot actions, see Adding custom plot actions.
actions API¶
Actions are divided into the following sub-modules:
- 
class silx.gui.plot.actions.PlotAction(plot, icon, text, tooltip=None, triggered=None, checkable=False, parent=None)[source]¶
- Base class for QAction that operates on a PlotWidget. - Parameters: - plot – PlotWidgetinstance on which to operate.
- icon – QIcon or str name of icon to use
- text (str) – The name of this action to be used for menu label
- tooltip (str) – The text of the tooltip
- triggered – The callback to connect to the action’s triggered signal or None for no callback.
- checkable (bool) – True for checkable action, False otherwise (default)
- parent – See QAction.
 
- plot – 
