Skip to content

Commit

Permalink
Hide hidden func import
Browse files Browse the repository at this point in the history
  • Loading branch information
pllim committed Apr 26, 2023
1 parent 54cb431 commit c544dba
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jdaviz/core/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from glue.core.roi import CircularROI, EllipticalROI, RectangularROI
from glue.core.subset import RoiSubsetState
from glue.viewers.common.tool import Tool
from glue_astronomy.translators.regions import _annulus_to_subset_state
from glue_jupyter.bqplot.common.tools import (CheckableTool,
HomeTool, BqplotPanZoomMode,
BqplotPanZoomXMode, BqplotPanZoomYMode,
Expand Down Expand Up @@ -399,6 +398,10 @@ def on_mouse_event(self, data):
else:
return

# We should not expose hidden function import in top-level
# in case upstream yanks it someday.
from glue_astronomy.translators.regions import _annulus_to_subset_state

# Hardcode the outer radius for now. Hopefully can edit in Subset Tools later.
outer_r = inner_r + 5

Expand Down

0 comments on commit c544dba

Please sign in to comment.