def _render(self):
        """ redraws render window if the render window exists """
        if hasattr(self, 'ren_win'):
            if hasattr(self, 'render_trigger'):
                self.render_trigger.emit()
            elif not self._first_time:
                self.render()
def _render ( self ) : if hasattr ( self , 'ren_win' ) : if hasattr ( self , 'render_trigger' ) : self . render_trigger . emit ( ) elif not self . _first_time : self . render ( )
redraws render window if the render window exists