(self)
Update all the graphs that are being displayed
Update all the graphs that are being displayed
Update all the graphs that are being displayed
def update_displayed_information(self):
        """ Update all the graphs that are being displayed """

        for source in self.controller.sources:
            source_name = source.get_source_name()
            if (any(self.graphs_menu.active_sensors[source_name]) or
                    any(self.summary_menu.active_sensors[source_name])):
                source.update()

        for graph in self.visible_graphs.values():
            try:
                graph.update()
            except IndexError:
                logging.debug("Graph update failed")
                pass

        # update graph summery
        for summary in self.visible_summaries.values():
            try:
                summary.update()
            except IndexError:
                logging.debug("Summary update failed")
                pass

        # Only update clock if not is stress mode
        if self.controller.stress_conroller.get_current_mode() != 'Monitor':
            self.clock_view.set_text(seconds_to_text(
                (timeit.default_timer() - self.controller.stress_start_time)))
def update_displayed_information ( self ) : for source in self . controller . sources : source_name = source . get_source_name ( ) if ( any ( self . graphs_menu . active_sensors [ source_name ] ) or any ( self . summary_menu . active_sensors [ source_name ] ) ) : source . update ( ) for graph in self . visible_graphs . values ( ) : try : graph . update ( ) except IndexError : logging . debug ( "Graph update failed" ) pass # update graph summery for summary in self . visible_summaries . values ( ) : try : summary . update ( ) except IndexError : logging . debug ( "Summary update failed" ) pass # Only update clock if not is stress mode if self . controller . stress_conroller . get_current_mode ( ) != 'Monitor' : self . clock_view . set_text ( seconds_to_text ( ( timeit . default_timer ( ) - self . controller . stress_start_time ) ) )