GraphicsLayoutWidget¶
-
class
pyqtgraph.GraphicsLayoutWidget(parent=None, **kargs)[source]¶ Convenience class consisting of a
GraphicsViewwith a singleGraphicsLayoutas its central item.This class wraps several methods from its internal GraphicsLayout:
nextRownextColumnaddPlotaddViewBoxaddItemgetItemaddLabeladdLayoutremoveItemitemIndexclear-
__init__(parent=None, **kargs)[source]¶ Arguments: parent Optional parent widget useOpenGL If True, the GraphicsView will use OpenGL to do all of its rendering. This can improve performance on some systems, but may also introduce bugs (the combination of QGraphicsView and QGLWidget is still an ‘experimental’ feature of Qt) background Set the background color of the GraphicsView. Accepts any single argument accepted by mkColor. By default, the background color is determined using the ‘backgroundColor’ configuration option (seesetConfigOptions).
-