diff --git a/package.json b/package.json index 527351c..48fad25 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "tvb-widgets", - "version": "1.6.0", + "version": "1.6.1", "description": "GUI widgets for EBRAINS showcases", "homepage": "https://github.com/the-virtual-brain/tvb-widgets", "license": "GPL-3.0-or-later", diff --git a/tvbwidgets/ui/phase_plane_widget.py b/tvbwidgets/ui/phase_plane_widget.py index 648847b..e6e459b 100644 --- a/tvbwidgets/ui/phase_plane_widget.py +++ b/tvbwidgets/ui/phase_plane_widget.py @@ -74,6 +74,10 @@ def __init__(self, **kwargs): self.plot_main_axes = None self.plot_bellow = None self.noise_sliders = [] + if hasattr(self.integrator, 'noise'): + self.noise_slider_valinit = self.integrator.noise.nsig[0] + else: + self.noise_slider_valinit = 0 self.trajectories = [] # Parameters to be passed to plotter when their change affects the drawing self.params = dict()