original_docstring: 
          Render the symbol to series of points
  
          :param QPainter painter: Painter
          :param point_or_rect: Positions of the symbols
          
docstring: Render the symbol to series of points
docstring_tokens: Render the symbol to series of points
code: def renderSymbols(self, painter, points, numPoints=None):
          """
          Render the symbol to series of points
  
          :param QPainter painter: Painter
          :param point_or_rect: Positions of the symbols
          """
          # TODO: remove argument numPoints (not necessary in `PythonQwt`)
          try:
              assert numPoints is None
          except AssertionError:
              raise RuntimeError(
                  "argument numPoints is not implemented " "in `PythonQwt`"
              )
          if self.__data.style == QwtSymbol.Ellipse:
              qwtDrawEllipseSymbols(painter, points, numPoints, self)
          elif self.__data.style == QwtSymbol.Rect:
              qwtDrawRectSymbols(painter, points, numPoints, self)
          elif self.__data.style == QwtSymbol.Diamond:
              qwtDrawDiamondSymbols(painter, points, numPoints, self)
          elif self.__data.style == QwtSymbol.Cross:
              qwtDrawLineSymbols(
                  painter, Qt.Horizontal | Qt.Vertical, points, numPoints, self
              )
          elif self.__data.style == QwtSymbol.XCross:
              qwtDrawXCrossSymbols(painter, points, numPoints, self)
          elif self.__data.style in (QwtSymbol.Triangle, QwtSymbol.UTriangle):
              qwtDrawTriangleSymbols(painter, QwtTriangle.Up, points, numPoints, self)
          elif self.__data.style == QwtSymbol.DTriangle:
              qwtDrawTriangleSymbols(painter, QwtTriangle.Down, points, numPoints, self)
          elif self.__data.style == QwtSymbol.RTriangle:
              qwtDrawTriangleSymbols(painter, QwtTriangle.Right, points, numPoints, self)
          elif self.__data.style == QwtSymbol.LTriangle:
              qwtDrawTriangleSymbols(painter, QwtTriangle.Left, points, numPoints, self)
          elif self.__data.style == QwtSymbol.HLine:
              qwtDrawLineSymbols(painter, Qt.Horizontal, points, numPoints, self)
          elif self.__data.style == QwtSymbol.VLine:
              qwtDrawLineSymbols(painter, Qt.Vertical, points, numPoints, self)
          elif self.__data.style == QwtSymbol.Star1:
              qwtDrawStar1Symbols(painter, points, numPoints, self)
          elif self.__data.style == QwtSymbol.Star2:
              qwtDrawStar2Symbols(painter, points, numPoints, self)
          elif self.__data.style == QwtSymbol.Hexagon:
              qwtDrawHexagonSymbols(painter, points, numPoints, self)
          elif self.__data.style == QwtSymbol.Path:
              if self.__data.path.graphic.isNull():
                  self.__data.path.graphic = qwtPathGraphic(
                      self.__data.path.path, self.__data.pen, self.__data.brush
                  )
              qwtDrawGraphicSymbols(
                  painter, points, numPoints, self.__data.path.graphic, self
              )
          elif self.__data.style == QwtSymbol.Pixmap:
              qwtDrawPixmapSymbols(painter, points, numPoints, self)
          elif self.__data.style == QwtSymbol.Graphic:
              qwtDrawGraphicSymbols(
                  painter, points, numPoints, self.__data.graphic.graphic, self
              )
          elif self.__data.style == QwtSymbol.SvgDocument:
              qwtDrawSvgSymbols(
                  painter, points, numPoints, self.__data.svg.renderer, self
              )
code_tokens: def renderSymbols ( self , painter , points , numPoints = None ) : try : assert numPoints is None except AssertionError : raise RuntimeError ( "argument numPoints is not implemented " "in `PythonQwt`" ) if self . __data . style == QwtSymbol . Ellipse : qwtDrawEllipseSymbols ( painter , points , numPoints , self ) elif self . __data . style == QwtSymbol . Rect : qwtDrawRectSymbols ( painter , points , numPoints , self ) elif self . __data . style == QwtSymbol . Diamond : qwtDrawDiamondSymbols ( painter , points , numPoints , self ) elif self . __data . style == QwtSymbol . Cross : qwtDrawLineSymbols ( painter , Qt . Horizontal | Qt . Vertical , points , numPoints , self ) elif self . __data . style == QwtSymbol . XCross : qwtDrawXCrossSymbols ( painter , points , numPoints , self ) elif self . __data . style in ( QwtSymbol . Triangle , QwtSymbol . UTriangle ) : qwtDrawTriangleSymbols ( painter , QwtTriangle . Up , points , numPoints , self ) elif self . __data . style == QwtSymbol . DTriangle : qwtDrawTriangleSymbols ( painter , QwtTriangle . Down , points , numPoints , self ) elif self . __data . style == QwtSymbol . RTriangle : qwtDrawTriangleSymbols ( painter , QwtTriangle . Right , points , numPoints , self ) elif self . __data . style == QwtSymbol . LTriangle : qwtDrawTriangleSymbols ( painter , QwtTriangle . Left , points , numPoints , self ) elif self . __data . style == QwtSymbol . HLine : qwtDrawLineSymbols ( painter , Qt . Horizontal , points , numPoints , self ) elif self . __data . style == QwtSymbol . VLine : qwtDrawLineSymbols ( painter , Qt . Vertical , points , numPoints , self ) elif self . __data . style == QwtSymbol . Star1 : qwtDrawStar1Symbols ( painter , points , numPoints , self ) elif self . __data . style == QwtSymbol . Star2 : qwtDrawStar2Symbols ( painter , points , numPoints , self ) elif self . __data . style == QwtSymbol . Hexagon : qwtDrawHexagonSymbols ( painter , points , numPoints , self ) elif self . __data . style == QwtSymbol . Path : if self . __data . path . graphic . isNull ( ) : self . __data . path . graphic = qwtPathGraphic ( self . __data . path . path , self . __data . pen , self . __data . brush ) qwtDrawGraphicSymbols ( painter , points , numPoints , self . __data . path . graphic , self ) elif self . __data . style == QwtSymbol . Pixmap : qwtDrawPixmapSymbols ( painter , points , numPoints , self ) elif self . __data . style == QwtSymbol . Graphic : qwtDrawGraphicSymbols ( painter , points , numPoints , self . __data . graphic . graphic , self ) elif self . __data . style == QwtSymbol . SvgDocument : qwtDrawSvgSymbols ( painter , points , numPoints , self . __data . svg . renderer , self )
short_docstring: Render the symbol to series of points
short_docstring_tokens: Render the symbol to series of points
comment: """
          Render the symbol to series of points
  
          :param QPainter painter: Painter
          :param point_or_rect: Positions of the symbols
          """$SEP$# TODO: remove argument numPoints (not necessary in `PythonQwt`)