Spaces:
Running
Running
Update ui_generators.py
Browse files- ui_generators.py +1 -1
ui_generators.py
CHANGED
@@ -344,7 +344,7 @@ def create_analytics_plot_panel(plot_label_str, plot_id_str):
|
|
344 |
explore_button = gr.Button(value=local_explore_icon, variant="secondary", size="sm", min_width=30, elem_id=f"explore_btn_{plot_id_str}")
|
345 |
|
346 |
# MODIFIED: Added height to gr.Plot for consistent sizing
|
347 |
-
plot_component = gr.Plot(label=plot_label_str, show_label=False
|
348 |
|
349 |
logging.debug(f"Created analytics panel for: {plot_label_str} (ID: {plot_id_str}) with fixed plot height.")
|
350 |
return panel_component, plot_component, bomb_button, explore_button, formula_button
|
|
|
344 |
explore_button = gr.Button(value=local_explore_icon, variant="secondary", size="sm", min_width=30, elem_id=f"explore_btn_{plot_id_str}")
|
345 |
|
346 |
# MODIFIED: Added height to gr.Plot for consistent sizing
|
347 |
+
plot_component = gr.Plot(label=plot_label_str, show_label=False) # Adjust height as needed
|
348 |
|
349 |
logging.debug(f"Created analytics panel for: {plot_label_str} (ID: {plot_id_str}) with fixed plot height.")
|
350 |
return panel_component, plot_component, bomb_button, explore_button, formula_button
|