silx.gui.plot.actions.histogram#
silx.gui.plot.actions.histogram provides actions relative to histograms
for PlotWidget.
The following QAction are available:
- class HistogramWidget(*args, **kwargs)[source]#
Widget displaying a histogram and some statistic indicators
- getItem()[source]#
Returns item used to display histogram and statistics.
- Return type:
Optional[Item]
- setItem(item)[source]#
Set item from which to display histogram and statistics.
- Parameters:
item (
Optional[Item])
- setHistogram(histogram, edges)[source]#
Set displayed histogram
- Parameters:
histogram – Bin values (N)
edges – Bin edges (N+1)
- class PixelIntensitiesHistoAction(plot, parent=None)[source]#
QAction to plot the pixels intensities diagram
- Parameters:
plot –
PlotWidgetinstance on which to operateparent – See
QAction