GLLinePlotItem — pyqtgraph 0.9.8 documentation

### Navigation

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

# GLLinePlotItem

class `pyqtgraph.opengl.` `GLLinePlotItem`(**kwds)

  Draws line plots in 3D.

  `__init__`(**kwds)

    All keyword arguments are passed to setData()

  `setData`(**kwds)

    Update the data displayed by this item. All arguments are optional; for example it is allowed to update vertex positions while leaving colors unchanged, etc.

    Arguments:
    pos | (N,3) array of floats specifying point locations.
    color | (N,4) array of floats (0.0-1.0) or tuple of floats specifying a single color for the entire item.
    width | float specifying line width
    antialias | enables smooth line drawing

### Navigation

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