MilesCranmer commited on
Commit
b58f1db
1 Parent(s): 28639ea

feat(gui): reset plot at run

Browse files
Files changed (1) hide show
  1. gui/processing.py +1 -1
gui/processing.py CHANGED
@@ -134,7 +134,7 @@ def processing(
134
  try:
135
  X, y = read_csv(file_input, force_run)
136
  except ValueError as e:
137
- return (EMPTY_DF(), str(e))
138
  else:
139
  X, y = generate_data(test_equation, num_points, noise_level, data_seed)
140
 
 
134
  try:
135
  X, y = read_csv(file_input, force_run)
136
  except ValueError as e:
137
+ return (EMPTY_DF(), plot_predictions([], []), str(e))
138
  else:
139
  X, y = generate_data(test_equation, num_points, noise_level, data_seed)
140