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
|
glvolumeitem
|
||||||
glimageitem
|
glimageitem
|
||||||
glmeshitem
|
glmeshitem
|
||||||
|
gllineplotitem
|
||||||
glaxisitem
|
glaxisitem
|
||||||
glgraphicsitem
|
glgraphicsitem
|
||||||
glscatterplotitem
|
glscatterplotitem
|
||||||
|
@ -11,6 +11,7 @@ class GLLinePlotItem(GLGraphicsItem):
|
|||||||
"""Draws line plots in 3D."""
|
"""Draws line plots in 3D."""
|
||||||
|
|
||||||
def __init__(self, **kwds):
|
def __init__(self, **kwds):
|
||||||
|
"""All keyword arguments are passed to setData()"""
|
||||||
GLGraphicsItem.__init__(self)
|
GLGraphicsItem.__init__(self)
|
||||||
glopts = kwds.pop('glOptions', 'additive')
|
glopts = kwds.pop('glOptions', 'additive')
|
||||||
self.setGLOptions(glopts)
|
self.setGLOptions(glopts)
|
||||||
@ -22,7 +23,7 @@ class GLLinePlotItem(GLGraphicsItem):
|
|||||||
def setData(self, **kwds):
|
def setData(self, **kwds):
|
||||||
"""
|
"""
|
||||||
Update the data displayed by this item. All arguments are optional;
|
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.
|
colors unchanged, etc.
|
||||||
|
|
||||||
==================== ==================================================
|
==================== ==================================================
|
||||||
|
Loading…
Reference in New Issue
Block a user