Spaces:
Sleeping
Sleeping
Commit
·
0416e62
1
Parent(s):
bd9de33
Chnage Plots Limits
Browse files
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 -
|
| 1271 |
-
x_min, x_max = -
|
| 1272 |
-
y_min, y_max = -
|
| 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)
|