HistogramLUTItem¶
-
class
pyqtgraph.
HistogramLUTItem
(image=None, fillHistogram=True)[source]¶ This is a graphicsWidget which provides controls for adjusting the display of an image. Includes:
- Image histogram
- Movable region over histogram to select black/white levels
- Gradient editor to define color lookup table for single-channel images
-
__init__
(image=None, fillHistogram=True)[source]¶ If image (ImageItem) is provided, then the control will be automatically linked to the image and changes to the control will be immediately reflected in the image’s appearance. By default, the histogram is rendered with a fill. For performance, set fillHistogram = False.