From 0bc38603e50d02d21eaf4077b1e6a2b01d11ea87 Mon Sep 17 00:00:00 2001 From: Darrell Schiebel Date: Tue, 30 Apr 2024 17:12:14 -0400 Subject: [PATCH] webgl has problems when displaying remotely (X11/VNC) --- casagui/toolbox/_cube.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/casagui/toolbox/_cube.py b/casagui/toolbox/_cube.py index b36b4f0..d5d0331 100644 --- a/casagui/toolbox/_cube.py +++ b/casagui/toolbox/_cube.py @@ -1296,7 +1296,14 @@ async def mod_mask( msg, self=self ): self._stokes_labels = self._image_source.stokes_labels( ) self._image = set_attributes( figure( height=self._pipe['image'].shape[1], width=self._pipe['image'].shape[0], - output_backend="webgl", match_aspect=True, + ### + ### using webgl resulted in at least one case of unresponsive spans in the colormap + ### adjust interface due to the GPU being unresponsive (perhaps because it is being + ### used for something else). In this case, the tclean/deconvolve python session was + ### on a remote linux system displaying to a mac laptop via X11 (same behavior w/ VNC) + ### + #output_backend="webgl", + match_aspect=True, tools=[ 'lasso_select', 'box_select', 'pan', 'wheel_zoom', 'save', 'reset', 'poly_select',