Commit 3d820400 authored by Luke Campagnola's avatar Luke Campagnola
Browse files

Added GLLinePlotItem documentation

parent 9a20d051
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.
==================== ==================================================
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment