示例#1
0
 def edit_plot_parameters(self, key):
     """
     Edit plot parameters
     """
     multiselection = len(self.get_selected_items()) > 1
     itemparams = ItemParameters(multiselection=multiselection)
     self.get_plot_parameters(key, itemparams)
     title, icon = PARAMETERS_TITLE_ICON[key]
     itemparams.edit(self, title, icon)
示例#2
0
 def edit_plot_parameters(self, key):
     """
     Edit plot parameters
     """
     multiselection = len(self.get_selected_items()) > 1
     itemparams = ItemParameters(multiselection=multiselection)
     self.get_plot_parameters(key, itemparams)
     title, icon = PARAMETERS_TITLE_ICON[key]
     itemparams.edit(self, title, icon)