diff --git a/Python_script/PostPlot.py b/Python_script/PostPlot.py index 5ff91d6bb8f4bf94eed4ecc0f933c2adc954a27d..1df1f199f727e505b36c37a33bed29607a0d0181 100644 --- a/Python_script/PostPlot.py +++ b/Python_script/PostPlot.py @@ -64,7 +64,7 @@ class PostPlot: postplot_data_frame.update(time_vals) # refresh subplots with data in data frame - self.measplot.draw(postplot_data_frame, pdf_name='') + self.measplot.draw_in_this_thread(postplot_data_frame, pdf_name='') # cal PK2PK values of magnitude and phase PK2PK = self.calc_pkpk_values(postplot_data_frame) @@ -188,4 +188,4 @@ if __name__ == '__main__': filename = 'Full_Transition' + '.pdf' plot_obj.save_fig(storepath, filename) - \ No newline at end of file +