From 0fde5c0b3b645e3e2a29b49761186dc837429b92 Mon Sep 17 00:00:00 2001 From: dylansdaniels-berkeley Date: Fri, 8 Nov 2024 09:35:22 -0500 Subject: [PATCH] update default smoothing in viz manager class when clicking run button --- hnn_core/gui/gui.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hnn_core/gui/gui.py b/hnn_core/gui/gui.py index ce665f59c..7ee1b9e60 100644 --- a/hnn_core/gui/gui.py +++ b/hnn_core/gui/gui.py @@ -1967,6 +1967,7 @@ def run_button_clicked(widget_simulation_name, log_out, drive_widgets, viz_manager.reset_fig_config_tabs() default_smoothing = widget_default_smoothing.value + viz_manager.default_smoothing = default_smoothing viz_manager.add_figure(default_smoothing=default_smoothing) fig_name = _idx2figname(viz_manager.data['fig_idx']['idx'] - 1) ax_plots = [("ax0", "input histogram"), ("ax1", "current dipole")]