def refresh_plot_and_label(self, which_vol: list, which_label: QLabel, which_plot: QWidget): tt_vs, acc_vf, tvf, acc_interf, tinterf = self.get_volFracs_interf( which_vol) self.set_titles(which_label, tt_vs, tvf, tinterf) which_plot.accum_nb_vx = acc_vf which_plot.accum_interf = acc_interf which_plot.plot()