Skip to content

Commit

Permalink
webgl has problems when displaying remotely (X11/VNC)
Browse files Browse the repository at this point in the history
  • Loading branch information
schiebel committed Apr 30, 2024
1 parent 531b7e9 commit 0bc3860
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion casagui/toolbox/_cube.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 0bc3860

Please sign in to comment.