RawImageWidget

class pyqtgraph.RawImageWidget(parent=None, scaled=True)

Widget optimized for very fast video display. Generally using an ImageItem inside GraphicsView is fast enough, but if you need even more performance, this widget is about as fast as it gets.

The tradeoff is that this widget will _only_ display the unscaled image and nothing else.

__init__(parent=None, scaled=True)
setImage(img, *args, **kargs)

img must be ndarray of shape (x,y), (x,y,3), or (x,y,4). Extra arguments are sent to functions.makeARGB

Previous topic

VerticalLabel

This Page