GradientLegend

class pyqtgraph.GradientLegend(view, size, offset)

Draws a color gradient rectangle along with text labels denoting the value at specific points along the gradient.

__init__(view, size, offset)
setLabels(l)

Defines labels to appear next to the color scale. Accepts a dict of {text: value} pairs

Previous topic

HistogramLUTItem

Next topic

ButtonItem

This Page