Bases: silx.gui.plot.PlotWidget.PlotWidget
Qt Widget providing a 1D/2D plot area and additional tools.
This widgets inherits from PlotWidget and provides its plot API.
This widget includes the following QAction as attributes:
Initialiser parameters:
Parameters: |
|
---|
Return the current mask handled by maskToolsDockWidget.
Returns: | The array of the mask with dimension of the ‘active’ image. If there is no active image, an empty array is returned. |
---|---|
Return type: | 2D numpy.ndarray of uint8 |
Set the mask handled by :attr`maskToolsDockWidget`.
If the provided mask has not the same dimension as the ‘active’ image, it will by cropped or padded.
Parameters: | mask (numpy.ndarray of uint8 of dimension 2, C-contiguous. Array of other types are converted.) – The array to use for the mask. |
---|---|
Returns: | True if success, False if failed |
Return a QMenu from the QAction of the PlotWindow.
Parameters: |
|
---|
Bases: silx.gui.plot.PlotWindow.PlotWindow
PlotWindow with tools specific for curves.
This widgets provides the plot API of PlotWidget.
Parameters: | parent – The parent of this widget |
---|
Bases: silx.gui.plot.PlotWindow.PlotWindow
PlotWindow with a toolbar specific for images.
This widgets provides the plot API of PlotWidget.
Parameters: | parent – The parent of this widget |
---|
“Profile tools attached to this plot.