Spaces:
Sleeping
Sleeping
Commit
·
08ad32f
1
Parent(s):
f7e3ef0
White Background T-SNE Plot
Browse files
app.py
CHANGED
|
@@ -1317,6 +1317,9 @@ def run_model(model_name):
|
|
| 1317 |
heatmap_fig.xaxis.axis_label = x_comp
|
| 1318 |
heatmap_fig.yaxis.axis_label = y_comp
|
| 1319 |
|
|
|
|
|
|
|
|
|
|
| 1320 |
# Dibujar la imagen del heatmap
|
| 1321 |
heatmap_fig.image(image=[heatmap_data], x=x_min, y=y_min,
|
| 1322 |
dw=x_max - x_min, dh=y_max - y_min,
|
|
@@ -1598,6 +1601,9 @@ def run_model(model_name):
|
|
| 1598 |
}}
|
| 1599 |
""")
|
| 1600 |
heatmap_fig.add_layout(color_bar, 'right')
|
|
|
|
|
|
|
|
|
|
| 1601 |
|
| 1602 |
# Tooltips
|
| 1603 |
source_points = ColumnDataSource(data={
|
|
|
|
| 1317 |
heatmap_fig.xaxis.axis_label = x_comp
|
| 1318 |
heatmap_fig.yaxis.axis_label = y_comp
|
| 1319 |
|
| 1320 |
+
heatmap_fig.background_fill_color = "white"
|
| 1321 |
+
heatmap_fig.border_fill_color = "white"
|
| 1322 |
+
|
| 1323 |
# Dibujar la imagen del heatmap
|
| 1324 |
heatmap_fig.image(image=[heatmap_data], x=x_min, y=y_min,
|
| 1325 |
dw=x_max - x_min, dh=y_max - y_min,
|
|
|
|
| 1601 |
}}
|
| 1602 |
""")
|
| 1603 |
heatmap_fig.add_layout(color_bar, 'right')
|
| 1604 |
+
|
| 1605 |
+
heatmap_fig.background_fill_color = "white"
|
| 1606 |
+
heatmap_fig.border_fill_color = "white"
|
| 1607 |
|
| 1608 |
# Tooltips
|
| 1609 |
source_points = ColumnDataSource(data={
|