class_docstr: Draws line plots in 3D.
code: def paint(self):
      if self.pos is None:
          return
      self.setupGLState()
  
      glEnableClientState(GL_VERTEX_ARRAY)
  
      try:
          glVertexPointerf(self.pos)
  
          if isinstance(self.color, np.ndarray):
              glEnableClientState(GL_COLOR_ARRAY)
              glColorPointerf(self.color)
          else:
              color = self.color
              if isinstance(color, str):
                  color = fn.mkColor(color)
              if isinstance(color, QtGui.QColor):
                  color = color.getRgbF()
              glColor4f(*color)
          glLineWidth(self.width)
  
          if self.antialias:
              glEnable(GL_LINE_SMOOTH)
              glEnable(GL_BLEND)
              glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA)
              glHint(GL_LINE_SMOOTH_HINT, GL_NICEST)
  
          if self.mode == "line_strip":
              glDrawArrays(GL_LINE_STRIP, 0, self.pos.shape[0])
          elif self.mode == "lines":
              glDrawArrays(GL_LINES, 0, self.pos.shape[0])
          else:
              raise Exception(
                  "Unknown line mode '%s'. (must be 'lines' or 'line_strip')"
                  % self.mode
              )
  
      finally:
          glDisableClientState(GL_COLOR_ARRAY)
          glDisableClientState(GL_VERTEX_ARRAY)
  
file_path: pyqtgraph/pyqtgraph/opengl/items/GLLinePlotItem.py
imports: from OpenGL.GL import *
  import numpy
  from ...None import QtGui
  from ...None import functions
  from ..GLGraphicsItem import GLGraphicsItem
label_desc: Use image node_id 3 for calling the GLLinePlotItem obj's underlying member method code with example usage: obj.paint() without return types