Added GLLinePlotItem documentation

This commit is contained in:
Luke Campagnola 2013-05-31 14:04:04 -04:00
parent 9a20d051cb
commit 3d820400d3
3 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1,8 @@
GLLinePlotItem
==============
.. autoclass:: pyqtgraph.opengl.GLLinePlotItem
:members:
.. automethod:: pyqtgraph.opengl.GLLinePlotItem.__init__

View File

@ -20,6 +20,7 @@ Contents:
glvolumeitem
glimageitem
glmeshitem
gllineplotitem
glaxisitem
glgraphicsitem
glscatterplotitem

View File

@ -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.
==================== ==================================================