Added GLLinePlotItem documentation
This commit is contained in:
parent
9a20d051cb
commit
3d820400d3
8
doc/source/3dgraphics/gllineplotitem.rst
Normal file
8
doc/source/3dgraphics/gllineplotitem.rst
Normal file
@ -0,0 +1,8 @@
|
||||
GLLinePlotItem
|
||||
==============
|
||||
|
||||
.. autoclass:: pyqtgraph.opengl.GLLinePlotItem
|
||||
:members:
|
||||
|
||||
.. automethod:: pyqtgraph.opengl.GLLinePlotItem.__init__
|
||||
|
@ -20,6 +20,7 @@ Contents:
|
||||
glvolumeitem
|
||||
glimageitem
|
||||
glmeshitem
|
||||
gllineplotitem
|
||||
glaxisitem
|
||||
glgraphicsitem
|
||||
glscatterplotitem
|
||||
|
@ -11,6 +11,7 @@ class GLLinePlotItem(GLGraphicsItem):
|
||||
"""Draws line plots in 3D."""
|
||||
|
||||
def __init__(self, **kwds):
|
||||
"""All keyword arguments are passed to setData()"""
|
||||
GLGraphicsItem.__init__(self)
|
||||
glopts = kwds.pop('glOptions', 'additive')
|
||||
self.setGLOptions(glopts)
|
||||
@ -22,7 +23,7 @@ class GLLinePlotItem(GLGraphicsItem):
|
||||
def setData(self, **kwds):
|
||||
"""
|
||||
Update the data displayed by this item. All arguments are optional;
|
||||
for example it is allowed to update spot positions while leaving
|
||||
for example it is allowed to update vertex positions while leaving
|
||||
colors unchanged, etc.
|
||||
|
||||
==================== ==================================================
|
||||
|
Loading…
Reference in New Issue
Block a user