Skip to content

Commit

Permalink
Minimal change implementation of concrete ginga viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
mwcraig committed Jul 12, 2021
1 parent 242a29e commit ab66d3f
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion astrowidgets/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
from ._astropy_init import * # noqa
# ----------------------------------------------------------------------------

from .core import * # noqa
# from .core import * # noqa
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from ginga.ColorDist import ColorDistBase

from astrowidgets.core import ImageWidget, ALLOWED_CURSOR_LOCATIONS
from astrowidgets.ginga import ImageWidget, ALLOWED_CURSOR_LOCATIONS
from astrowidgets.interface_definition import ImageViewerInterface


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from astropy.nddata import CCDData
from astropy.coordinates import SkyCoord

from ..core import ImageWidget, RESERVED_MARKER_SET_NAMES
from ..ginga import ImageWidget, RESERVED_MARKER_SET_NAMES


def _make_fake_ccd(with_wcs=True):
Expand Down
2 changes: 1 addition & 1 deletion example_notebooks/ginga_wcsaxes.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"outputs": [],
"source": [
"from astropy.nddata import CCDData\n",
"from astrowidgets import ImageWidget as _ImageWidget\n",
"from astrowidgets import ImageWidget.ginga as _ImageWidget\n",
"from ginga.canvas.types.astro import WCSAxes\n",
"from ginga.misc.log import get_logger"
]
Expand Down
2 changes: 1 addition & 1 deletion example_notebooks/ginga_widget.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"metadata": {},
"outputs": [],
"source": [
"from astrowidgets import ImageWidget"
"from astrowidgets.ginga import ImageWidget"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion example_notebooks/gui_interactions.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"metadata": {},
"outputs": [],
"source": [
"from astrowidgets import ImageWidget"
"from astrowidgets.ginga import ImageWidget"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion example_notebooks/named_markers.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"metadata": {},
"outputs": [],
"source": [
"from astrowidgets import ImageWidget\n",
"from astrowidgets import.ginga ImageWidget\n",
"from astropy.table import Table \n",
"\n",
"import numpy as np"
Expand Down

0 comments on commit ab66d3f

Please sign in to comment.