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

tight layout may be the problem

parent af037261
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ def calculate_line(VTG,VBG): ...@@ -165,7 +165,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):
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() fig,ax = plt.subplots(figsize=(10,6))
#Retrieve the columns #Retrieve the columns
x_col = replot_dict['x_variable'].value x_col = replot_dict['x_variable'].value
......
...@@ -100,7 +100,7 @@ def Transfer_VTG(VTG,VDS,integration,sample,device): ...@@ -100,7 +100,7 @@ def Transfer_VTG(VTG,VDS,integration,sample,device):
# Adding title # Adding title
fig.suptitle('Transfer Curve', fontweight ="bold") fig.suptitle('Transfer Curve', fontweight ="bold")
ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1)) ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1))
fig.tight_layout() #fig.tight_layout()
display(fig) display(fig)
...@@ -233,7 +233,7 @@ def Transfer_VBG(VBG,VDS,integration,sample,device): ...@@ -233,7 +233,7 @@ def Transfer_VBG(VBG,VDS,integration,sample,device):
# Adding title # Adding title
fig.suptitle('Transfer Curve', fontweight ="bold") fig.suptitle('Transfer Curve', fontweight ="bold")
ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1)) ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1))
fig.tight_layout() #fig.tight_layout()
display(fig) display(fig)
...@@ -395,7 +395,7 @@ def Transfer_BOTH(VTG,VBG,VDS,integration,sample,device): ...@@ -395,7 +395,7 @@ def Transfer_BOTH(VTG,VBG,VDS,integration,sample,device):
# Adding title # Adding title
fig.suptitle('Transfer Curve', fontweight ="bold") fig.suptitle('Transfer Curve', fontweight ="bold")
ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1)) ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1))
fig.tight_layout() #fig.tight_layout()
display(fig) display(fig)
...@@ -539,7 +539,7 @@ def Output_VTG(VDS,VTG,integration,sample,device): ...@@ -539,7 +539,7 @@ def Output_VTG(VDS,VTG,integration,sample,device):
# Adding title # Adding title
fig.suptitle('Output Curve', fontweight ="bold") fig.suptitle('Output Curve', fontweight ="bold")
ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1)) ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1))
fig.tight_layout() #fig.tight_layout()
display(fig) display(fig)
...@@ -677,7 +677,7 @@ def Output_VBG(VDS,VBG,integration,sample,device): ...@@ -677,7 +677,7 @@ def Output_VBG(VDS,VBG,integration,sample,device):
# Adding title # Adding title
fig.suptitle('Output Curve', fontweight ="bold") fig.suptitle('Output Curve', fontweight ="bold")
ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1)) ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1))
fig.tight_layout() #fig.tight_layout()
display(fig) display(fig)
...@@ -829,8 +829,8 @@ def Output_BOTH(VDS,VTG,VBG,integration,sample,device): ...@@ -829,8 +829,8 @@ def Output_BOTH(VDS,VTG,VBG,integration,sample,device):
# Adding title # Adding title
fig.suptitle('Output Curve', fontweight ="bold") fig.suptitle('Output Curve', fontweight ="bold")
ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1)) ax1.legend(loc='upper left',borderaxespad=0., bbox_to_anchor=(1.05,1),ncols=points_VBG)
fig.tight_layout() #fig.tight_layout()
display(fig) display(fig)
...@@ -952,7 +952,7 @@ def Gatediode_VTG(VTG,integration,sample,device): ...@@ -952,7 +952,7 @@ def Gatediode_VTG(VTG,integration,sample,device):
# Adding title # Adding title
fig.suptitle('Gatediode Curve', fontweight ="bold") fig.suptitle('Gatediode Curve', fontweight ="bold")
fig.tight_layout() #fig.tight_layout()
display(fig) display(fig)
...@@ -1064,7 +1064,7 @@ def Gatediode_VBG(VBG,integration,sample,device): ...@@ -1064,7 +1064,7 @@ def Gatediode_VBG(VBG,integration,sample,device):
# Adding title # Adding title
fig.suptitle('Gatediode Curve', fontweight ="bold") fig.suptitle('Gatediode Curve', fontweight ="bold")
fig.tight_layout() #fig.tight_layout()
display(fig) display(fig)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment