()
Add symbol ? to ScatterPlotItemSymbols,
    reflect the triangle to point upwards
Add symbol ? to ScatterPlotItemSymbols,
    reflect the triangle to point upwards
Add symbol ? to ScatterPlotItemSymbols reflect the triangle to point upwards
def _define_symbols():
    """
    Add symbol ? to ScatterPlotItemSymbols,
    reflect the triangle to point upwards
    """
    path = QPainterPath()
    path.addEllipse(QRectF(-0.35, -0.35, 0.7, 0.7))
    path.moveTo(-0.5, 0.5)
    path.lineTo(0.5, -0.5)
    path.moveTo(-0.5, -0.5)
    path.lineTo(0.5, 0.5)
    Symbols["?"] = path

    path = QPainterPath()
    plusCoords = [
        (-0.5, -0.1), (-0.5, 0.1), (-0.1, 0.1), (-0.1, 0.5),
        (0.1, 0.5), (0.1, 0.1), (0.5, 0.1), (0.5, -0.1),
        (0.1, -0.1), (0.1, -0.5), (-0.1, -0.5), (-0.1, -0.1)
    ]
    path.moveTo(*plusCoords[0])
    for x, y in plusCoords[1:]:
        path.lineTo(x, y)
    path.closeSubpath()
    Symbols["+"] = path

    tr = QTransform()
    tr.rotate(180)
    Symbols['t'] = tr.map(Symbols['t'])

    tr = QTransform()
    tr.rotate(45)
    Symbols['x'] = tr.map(Symbols["+"])
def _define_symbols ( ) : path = QPainterPath ( ) path . addEllipse ( QRectF ( - 0.35 , - 0.35 , 0.7 , 0.7 ) ) path . moveTo ( - 0.5 , 0.5 ) path . lineTo ( 0.5 , - 0.5 ) path . moveTo ( - 0.5 , - 0.5 ) path . lineTo ( 0.5 , 0.5 ) Symbols [ "?" ] = path path = QPainterPath ( ) plusCoords = [ ( - 0.5 , - 0.1 ) , ( - 0.5 , 0.1 ) , ( - 0.1 , 0.1 ) , ( - 0.1 , 0.5 ) , ( 0.1 , 0.5 ) , ( 0.1 , 0.1 ) , ( 0.5 , 0.1 ) , ( 0.5 , - 0.1 ) , ( 0.1 , - 0.1 ) , ( 0.1 , - 0.5 ) , ( - 0.1 , - 0.5 ) , ( - 0.1 , - 0.1 ) ] path . moveTo ( * plusCoords [ 0 ] ) for x , y in plusCoords [ 1 : ] : path . lineTo ( x , y ) path . closeSubpath ( ) Symbols [ "+" ] = path tr = QTransform ( ) tr . rotate ( 180 ) Symbols [ 't' ] = tr . map ( Symbols [ 't' ] ) tr = QTransform ( ) tr . rotate ( 45 ) Symbols [ 'x' ] = tr . map ( Symbols [ "+" ] )