diff --git a/hnn_core/gui/_viz_manager.py b/hnn_core/gui/_viz_manager.py index 504085a91..f3a154e22 100644 --- a/hnn_core/gui/_viz_manager.py +++ b/hnn_core/gui/_viz_manager.py @@ -252,8 +252,10 @@ def _update_ax(fig, ax, single_simulation, sim_name, plot_type, plot_config): elif plot_type == 'PSD': if len(dpls_copied) > 0: + min_f = plot_config['min_spectral_frequency'] + max_f = plot_config['max_spectral_frequency'] color = ax._get_lines.get_next_color() - dpls_copied[0].plot_psd(fmin=0, fmax=50, ax=ax, color=color, + dpls_copied[0].plot_psd(fmin=min_f, fmax=max_f, ax=ax, color=color, label=sim_name, show=False) elif plot_type == 'spectrogram':