Skip to content

Commit

Permalink
update default smoothing in viz manager class when clicking run button
Browse files Browse the repository at this point in the history
  • Loading branch information
dylansdaniels committed Nov 8, 2024
1 parent 59b02e3 commit 0fde5c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions hnn_core/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit 0fde5c0

Please sign in to comment.