de-Rodrigo commited on
Commit
0416e62
·
1 Parent(s): bd9de33

Chnage Plots Limits

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -1267,9 +1267,9 @@ def run_model(model_name):
1267
  select_extra_dataset_hm = st.selectbox("Select a dataset:",
1268
  options=model_options_with_default, key=f"heatmap_extra_dataset_{model_name}")
1269
 
1270
- # Definir un rango fijo para los ejes (por ejemplo, de -2 a 2) y rejilla
1271
- x_min, x_max = -2, 2
1272
- y_min, y_max = -2, 2
1273
  grid_size = 50
1274
  x_bins = np.linspace(x_min, x_max, grid_size + 1)
1275
  y_bins = np.linspace(y_min, y_max, grid_size + 1)
 
1267
  select_extra_dataset_hm = st.selectbox("Select a dataset:",
1268
  options=model_options_with_default, key=f"heatmap_extra_dataset_{model_name}")
1269
 
1270
+ # Definir un rango fijo para los ejes (por ejemplo, de -1 a 1) y rejilla
1271
+ x_min, x_max = -1, 1
1272
+ y_min, y_max = -1, 1
1273
  grid_size = 50
1274
  x_bins = np.linspace(x_min, x_max, grid_size + 1)
1275
  y_bins = np.linspace(y_min, y_max, grid_size + 1)