Spaces:
Sleeping
Sleeping
Commit
·
bd9de33
1
Parent(s):
6141903
Change 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 -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)
|