Skip to content

Commit

Permalink
Update hnn_core/gui/_viz_manager.py
Browse files Browse the repository at this point in the history
  • Loading branch information
samadpls authored Feb 6, 2025
1 parent 8d66e91 commit eae8edd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hnn_core/gui/_viz_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,9 @@ def _update_ax(fig, ax, single_simulation, sim_name, plot_type, plot_config):
if len(dpls_copied) > 0:
min_f = plot_config['min_spectral_frequency']
max_f = plot_config['max_spectral_frequency']
if max_f > min_f:
step_f = 1.0
if min_f > max_f:
step_f = -1
step_f = 1
elif min_f > max_f:
step_f = -1
Expand Down

0 comments on commit eae8edd

Please sign in to comment.