Spaces:
Sleeping
Sleeping
Commit
·
33c7bc9
1
Parent(s):
2851084
Test Grid Size
Browse files
app.py
CHANGED
|
@@ -1509,9 +1509,9 @@ def run_model(model_name):
|
|
| 1509 |
options=model_options_with_default, key=f"heatmap_extra_dataset_{model_name}")
|
| 1510 |
|
| 1511 |
# Definir un rango fijo para los ejes (por ejemplo, de -1 a 1) y rejilla
|
| 1512 |
-
x_min, x_max = -
|
| 1513 |
-
y_min, y_max = -
|
| 1514 |
-
grid_size =
|
| 1515 |
x_bins = np.linspace(x_min, x_max, grid_size + 1)
|
| 1516 |
y_bins = np.linspace(y_min, y_max, grid_size + 1)
|
| 1517 |
|
|
|
|
| 1509 |
options=model_options_with_default, key=f"heatmap_extra_dataset_{model_name}")
|
| 1510 |
|
| 1511 |
# Definir un rango fijo para los ejes (por ejemplo, de -1 a 1) y rejilla
|
| 1512 |
+
x_min, x_max = -1.5, 1.5
|
| 1513 |
+
y_min, y_max = -1.5, 1.5
|
| 1514 |
+
grid_size = 50
|
| 1515 |
x_bins = np.linspace(x_min, x_max, grid_size + 1)
|
| 1516 |
y_bins = np.linspace(y_min, y_max, grid_size + 1)
|
| 1517 |
|