                                                 str(position[0]),
                                                 str(position[1])))
          toplevel.update()
  
      def data_popup_title(self):
          """ Set the data popup title """
          logger.debug("Setting poup title")
          selected_id = self.selected_id.get()
          title = "All Sessions"
          if selected_id != "Total":
              title = "{} Model: Session #{}".format(self.session.modelname.title(), selected_id)
 
</s> remove         selected_id = self.selected_id.get()
 </s> add         selected_id = self._selected_id.get()
        model_dir, model_name = os.path.split(Session.model_filename) </s> remove             title = "{} Model: Session #{}".format(self.session.modelname.title(), selected_id)
 </s> add             title = "{} Model: Session #{}".format(model_name.title(), selected_id) </s> remove         return "{} - {}".format(title, self.session.modeldir)
 </s> add         return "{} - {}".format(title, model_dir)

    def _data_popup_get_position(self):
        """ Get the position of the next window to pop the summary graph to. </s> remove     def data_popup_get_position(self):
        """ Get the position of the next window """
 </s> add         Returns
        -------
        list
            The [x, y] co-ordinates that the pop up window should be placed at
        """ </s> remove     def add_label(self):
        """ Add tree-view Title """
 </s> add     def _add_label(self):
        """ Add the title above the tree-view. """
    def _data_popup_title(self):
        """ Get the summary graph popup title.

        Returns
        -------
        str
            The title to display at the top of the pop-up graph window
        """
                                                 str(position[0]),
                                                 str(position[1])))
          toplevel.update()
  
    def _data_popup_title(self):
        """ Get the summary graph popup title.

        Returns
        -------
        str
            The title to display at the top of the pop-up graph window
        """
    def _data_popup_title(self):
        """ Get the summary graph popup title.

        Returns
        -------
        str
            The title to display at the top of the pop-up graph window
        """
          logger.debug("Setting poup title")
          selected_id = self.selected_id.get()
          title = "All Sessions"
          if selected_id != "Total":
              title = "{} Model: Session #{}".format(self.session.modelname.title(), selected_id)
keep keep keep keep replace replace keep keep keep keep keep
 GUI - Stats optimization (#1067)

* Faster stat loading + caching

* Compress data in cache

* Optimize some calculations

* Vectorize smoothing

* stats.Calculations optimized

* Load latest training data from live iterator

* Add options to training graph 
lib/gui/display_analysis.py