Skip to content

Commit

Permalink
feat: set min and max allowable values for spectral frequency widgets
Browse files Browse the repository at this point in the history
  • Loading branch information
gtdang committed Sep 23, 2024
1 parent ecde9f4 commit 9ae52a1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions hnn_core/gui/_viz_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -594,13 +594,17 @@ def _get_ax_control(widgets, data, fig_idx, fig, ax):

min_spectral_frequency = FloatText(
value=10,
min=0.1,
max=1000,
description='Min Spectral Frequency (Hz):',
disabled=False,
layout=layout,
style=analysis_style)

max_spectral_frequency = FloatText(
value=100,
min=0.1,
max=1000,
description='Max Spectral Frequency (Hz):',
disabled=False,
layout=layout,
Expand Down

0 comments on commit 9ae52a1

Please sign in to comment.