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)