Update app/api_utils.py

#71
by axelrvite - opened
Files changed (1) hide show
  1. app/api_utils.py +0 -3
app/api_utils.py CHANGED
@@ -132,9 +132,6 @@ def generate_multi_curve_plot(exp_points, model_dict):
132
  V_model, I_model = zip(*model_points)
133
  I_model = np.array(I_model)
134
 
135
- if I_model[0] < I_model[-1]:
136
- print('retournement2')
137
- I_model = -I_model
138
  V_model = np.array(V_model)
139
 
140
  ax.plot(V_model, I_model,
 
132
  V_model, I_model = zip(*model_points)
133
  I_model = np.array(I_model)
134
 
 
 
 
135
  V_model = np.array(V_model)
136
 
137
  ax.plot(V_model, I_model,