Skip to content

Commit ab66d3f

Browse files
committed
Minimal change implementation of concrete ginga viewer
1 parent 242a29e commit ab66d3f

File tree

8 files changed

+7
-7
lines changed

8 files changed

+7
-7
lines changed

astrowidgets/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66
from ._astropy_init import * # noqa
77
# ----------------------------------------------------------------------------
88

9-
from .core import * # noqa
9+
# from .core import * # noqa
File renamed without changes.

astrowidgets/tests/test_api.py renamed to astrowidgets/tests/test_api_ginga.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
from ginga.ColorDist import ColorDistBase
1010

11-
from astrowidgets.core import ImageWidget, ALLOWED_CURSOR_LOCATIONS
11+
from astrowidgets.ginga import ImageWidget, ALLOWED_CURSOR_LOCATIONS
1212
from astrowidgets.interface_definition import ImageViewerInterface
1313

1414

astrowidgets/tests/test_image_widget.py renamed to astrowidgets/tests/test_ginga_widget.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from astropy.nddata import CCDData
88
from astropy.coordinates import SkyCoord
99

10-
from ..core import ImageWidget, RESERVED_MARKER_SET_NAMES
10+
from ..ginga import ImageWidget, RESERVED_MARKER_SET_NAMES
1111

1212

1313
def _make_fake_ccd(with_wcs=True):

example_notebooks/ginga_wcsaxes.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"outputs": [],
2424
"source": [
2525
"from astropy.nddata import CCDData\n",
26-
"from astrowidgets import ImageWidget as _ImageWidget\n",
26+
"from astrowidgets import ImageWidget.ginga as _ImageWidget\n",
2727
"from ginga.canvas.types.astro import WCSAxes\n",
2828
"from ginga.misc.log import get_logger"
2929
]

example_notebooks/ginga_widget.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"metadata": {},
2121
"outputs": [],
2222
"source": [
23-
"from astrowidgets import ImageWidget"
23+
"from astrowidgets.ginga import ImageWidget"
2424
]
2525
},
2626
{

example_notebooks/gui_interactions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"metadata": {},
3333
"outputs": [],
3434
"source": [
35-
"from astrowidgets import ImageWidget"
35+
"from astrowidgets.ginga import ImageWidget"
3636
]
3737
},
3838
{

example_notebooks/named_markers.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"metadata": {},
2121
"outputs": [],
2222
"source": [
23-
"from astrowidgets import ImageWidget\n",
23+
"from astrowidgets import.ginga ImageWidget\n",
2424
"from astropy.table import Table \n",
2525
"\n",
2626
"import numpy as np"

0 commit comments

Comments
 (0)