taurus_pyqtgraph/forcedreadtool.py
def attachToPlotItem(self, plot_item):
        """Use this method to add this tool to a plot

        :param plot_item: (PlotItem)
        """
        menu = plot_item.getViewBox().menu
        menu.addAction(self)
        self.plot_item = plot_item
        # force an update of period for connected trendsets
        self._onValueChanged(self.period())
Use this method to add this tool to a plot

        :param plot_item: (PlotItem)
        
Use this method to add this tool to a plot
Use this method to add this tool to a plot
def attachToPlotItem(self, plot_item):
        menu = plot_item.getViewBox().menu
        menu.addAction(self)
        self.plot_item = plot_item
        self._onValueChanged(self.period())
def attachToPlotItem ( self , plot_item ) : menu = plot_item . getViewBox ( ) . menu menu . addAction ( self ) self . plot_item = plot_item self . _onValueChanged ( self . period ( ) )
Use this method to add this tool to a plot
Use this method to add this tool to a plot
"""Use this method to add this tool to a plot

        :param plot_item: (PlotItem)
        """ # force an update of period for connected trendsets
self
plot_item
None