def METHOD_NAME(self):
    """Method implementing thread loop that updates the plot"""
    while self.running:
        time.sleep(1)
        # Run plot update asynchronously
        concurrent.submitToQtMainThread(
            self.plot1d.addCurve,
            numpy.arange(1000),
            numpy.random.random(1000),
            resetzoom=False,
            legend=random.choice(('mycurve0', 'mycurve1'))
        )