def __init__(self, plotItem, axisPosition, nodeName='show', defaultData=True):
        """ Constructor.
            The target axis is specified by imagePlotItem and axisPosition.
            axisPosition must be one of: 'left', 'right', 'bottom', 'top'

            NOTE: the PyQtGraph showAxis seems not to work. TODO: investigate.
        """
        super(PgAxisShowCti, self).__init__(nodeName, defaultData=defaultData)
        assert axisPosition in VALID_AXIS_POSITIONS,\
            "axisPosition must be in {}".format(VALID_AXIS_POSITIONS)

        self.plotItem = plotItem
        self.axisPosition = axisPosition
def __init__ ( self , plotItem , axisPosition , nodeName = 'show' , defaultData = True ) : super ( PgAxisShowCti , self ) . __init__ ( nodeName , defaultData = defaultData ) assert axisPosition in VALID_AXIS_POSITIONS , "axisPosition must be in {}" . format ( VALID_AXIS_POSITIONS ) self . plotItem = plotItem self . axisPosition = axisPosition
Constructor.
            The target axis is specified by imagePlotItem and axisPosition.
            axisPosition must be one of: 'left', 'right', 'bottom', 'top'

            NOTE: the PyQtGraph showAxis seems not to work. TODO: investigate.