Skip to content
Snippets Groups Projects
Commit 3fc97699 authored by Alexandros Asonitis's avatar Alexandros Asonitis
Browse files

bug fix 3

parent d6852208
No related branches found
No related tags found
No related merge requests found
...@@ -164,6 +164,7 @@ def calculate_line(VTG,VBG): ...@@ -164,6 +164,7 @@ def calculate_line(VTG,VBG):
# replot results # replot results
def replot_results(replot_dict,df,points,title): def replot_results(replot_dict,df,points,title):
try:
if len(df.columns.tolist())!=0 and replot_dict['check'].value==True: # Measurement is done if len(df.columns.tolist())!=0 and replot_dict['check'].value==True: # Measurement is done
fig,ax = plt.subplots(figsize=(10,6)) fig,ax = plt.subplots(figsize=(10,6))
...@@ -202,6 +203,8 @@ def replot_results(replot_dict,df,points,title): ...@@ -202,6 +203,8 @@ def replot_results(replot_dict,df,points,title):
fig.suptitle(title, fontweight ="bold") fig.suptitle(title, fontweight ="bold")
display(fig) display(fig)
except:
information_box("reploting failed please try again")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment