HistogramLUTItem — pyqtgraph 0.9.8 documentation

### Navigation

- index
- modules |
- next |
- previous |
- pyqtgraph 0.9.8 documentation »
- API Reference »
- Pyqtgraph’s Graphics Items »

# HistogramLUTItem

class `pyqtgraph.` `HistogramLUTItem`(image=None, fillHistogram=True)

  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)

    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.

  `autoHistogramRange`()

    Enable auto-scaling on the histogram plot.

  `setHistogramRange`(mn, mx, padding=0.1)

    Set the Y range on the histogram plot. This disables auto-scaling.

### Navigation

- index
- modules |
- next |
- previous |
- pyqtgraph 0.9.8 documentation »
- API Reference »
- Pyqtgraph’s Graphics Items »