diff --git a/tvbwidgets/ui/connectivity_ipy/connectivity_widget.py b/tvbwidgets/ui/connectivity_ipy/connectivity_widget.py index c171995..11c5bb5 100644 --- a/tvbwidgets/ui/connectivity_ipy/connectivity_widget.py +++ b/tvbwidgets/ui/connectivity_ipy/connectivity_widget.py @@ -148,6 +148,7 @@ def on_change_edges(change): self.output] self.output.display_actor(points) self.output.display_actor(edges) + self.output.update_plot() def __refresh_connectivity(self): self.output.plotter.clear() diff --git a/tvbwidgets/ui/connectivity_ipy/outputs_3d.py b/tvbwidgets/ui/connectivity_ipy/outputs_3d.py index 4a322a0..dd792c1 100644 --- a/tvbwidgets/ui/connectivity_ipy/outputs_3d.py +++ b/tvbwidgets/ui/connectivity_ipy/outputs_3d.py @@ -10,6 +10,9 @@ from enum import Enum import ipywidgets as widgets import pyvista +from tvbwidgets.core.logger.builder import get_logger + +LOGGER = get_logger(__name__) class Output3D(Enum): @@ -38,6 +41,7 @@ def hide_actor(self, actor): def update_plot(self): with self: + LOGGER.info("update plot") self.clear_output(wait=True) self.plotter.show()