cubevis 0.5.18__py3-none-any.whl → 0.5.20__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of cubevis might be problematic. Click here for more details.

@@ -30,3 +30,4 @@
30
30
  from ._cube import CubeMask
31
31
  from ._app_context import AppContext
32
32
  from ._region_list import RegionList
33
+ from ._interactive_clean_ui import InteractiveCleanUI
cubevis/toolbox/_cube.py CHANGED
@@ -54,7 +54,7 @@ from cubevis.bokeh.sources import ImageDataSource, ImagePipe, DataPipe
54
54
  from cubevis.bokeh.format import WcsTicks
55
55
  from cubevis.bokeh.models import EditSpan
56
56
  from ..data import casaimage
57
- from ..utils import pack_arrays, find_ws_address, set_attributes, resource_manager, polygon_indexes, is_notebook
57
+ from ..utils import pack_arrays, find_ws_address, set_attributes, resource_manager, polygon_indexes, is_interactive_jupyter
58
58
  from ..bokeh.models import EvTextInput
59
59
  from ..bokeh.tools import CBResetTool
60
60
  from ..bokeh.state import available_palettes, find_palette, default_palette
@@ -100,7 +100,7 @@ class CubeMask:
100
100
  self.COUNT = 1
101
101
  self.CCOUNT = 1
102
102
 
103
- self._is_notebook = is_notebook()
103
+ self._is_notebook = is_interactive_jupyter()
104
104
  #self._color = '#00FF00' # anti-green user feedback (issue #40 2024-05-02 13:08:32)
105
105
  self._region_style=dict( fill_alpha=0, hover_fill_alpha=0.3,
106
106
  fill_color='white', hover_fill_color='white',