parameters: (self)
return_statement: return True
docstring: Add curves on selected axes to the 'select curves' combo box.
          Return False if there are no lines on the axes (this can occur
          when a user uses the "Remove Curve" button), else return True.
docstring_summary: Add curves on selected axes to the 'select curves' combo box.
          Return False if there are no lines on the axes (this can occur
          when a user uses the "Remove Curve" button), else return True.
docstring_tokens: Add curves on selected axes to the select curves combo box . Return False if there are no lines on the axes ( this can occur when a user uses the Remove Curve button ) else return True .
function: def _populate_select_curve_list(self):
          """
          Add curves on selected axes to the 'select curves' combo box.
          Return False if there are no lines on the axes (this can occur
          when a user uses the "Remove Curve" button), else return True.
          """
          with block_signals(self.view.select_curve_list):
              self.view.select_curve_list.clear()
          selected_ax = self.get_selected_ax()
          if not selected_ax:
              self.view.close()
              return False
  
          # Get the lines in the order that they are listed on the legend.
          active_lines = datafunctions.get_legend_handles(selected_ax)
  
          # This dict is about to be repopulated with curves on the new selected axes
          self.curve_names_dict = {}
          for line in active_lines:
              self._update_selected_curve_name(line)
          self.view.populate_select_curve_list(list(self.curve_names_dict))
          return True
function_tokens: def _populate_select_curve_list ( self ) : with block_signals ( self . view . select_curve_list ) : self . view . select_curve_list . clear ( ) selected_ax = self . get_selected_ax ( ) if not selected_ax : self . view . close ( ) return False # Get the lines in the order that they are listed on the legend. active_lines = datafunctions . get_legend_handles ( selected_ax ) # This dict is about to be repopulated with curves on the new selected axes self . curve_names_dict = { } for line in active_lines : self . _update_selected_curve_name ( line ) self . view . populate_select_curve_list ( list ( self . curve_names_dict ) ) return True