def _wait(self):
logger.debug("<STR_LIT>")<EOL>self._plot_event = threading.Event()<EOL>self.queue_update._wait()<EOL>self.queue_replot._wait()<EOL>self.queue_redraw._wait()<EOL>qt_app = QtCore.QCoreApplication.instance()<EOL>sleep = <NUM_LIT:10><EOL>while not self._plot_event.is_set():<EOL><INDENT>logger.debug("<STR_LIT>")<EOL>qt_app.processEvents()<EOL>QtTest.QTest.qSleep(sleep)<EOL><DEDENT>logger.debug("<STR_LIT>")<EOL>
Used for unittesting to make sure the plots are all done