Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -47,7 +47,7 @@ def draw_scatter_plot_similarity(methods_selected, x_metric, y_metric, title):
|
|
47 |
+ p9.labs(title=title, x=f"{x_metric}", y=f"{y_metric}") # Dynamic labels for X and Y axes
|
48 |
+ p9.scale_color_identity() # Use colors directly from the dataframe
|
49 |
+ p9.theme(legend_position='none',
|
50 |
-
figure_size=(
|
51 |
axis_text=p9.element_text(size=10),
|
52 |
axis_title_x=p9.element_text(size=12),
|
53 |
axis_title_y=p9.element_text(size=12))
|
|
|
47 |
+ p9.labs(title=title, x=f"{x_metric}", y=f"{y_metric}") # Dynamic labels for X and Y axes
|
48 |
+ p9.scale_color_identity() # Use colors directly from the dataframe
|
49 |
+ p9.theme(legend_position='none',
|
50 |
+
figure_size=(8, 8), # Set figure size
|
51 |
axis_text=p9.element_text(size=10),
|
52 |
axis_title_x=p9.element_text(size=12),
|
53 |
axis_title_y=p9.element_text(size=12))
|