Skip to content

Commit

Permalink
Merge pull request #19 from lsst/tickets/DM-28658
Browse files Browse the repository at this point in the history
DM-28658: remove displayLib
  • Loading branch information
mwittgen committed Mar 22, 2021
2 parents 1367e85 + 853cb37 commit 4a4ce7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/lsst/display/ds9/ds9.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
except ImportError as e:
print("Cannot import xpa: %s" % (e), file=sys.stderr)

import lsst.afw.display.displayLib as displayLib
import lsst.afw.display as afwDisplay
import lsst.afw.math as afwMath

try:
Expand Down Expand Up @@ -675,7 +675,7 @@ def _i_mtv(data, wcs, title, isMask):
ds9Cmd(flush=True, silent=True)

try:
displayLib.writeFitsImage(pfd.fileno(), data, wcs, title)
afwDisplay.writeFitsImage(pfd.fileno(), data, wcs, title)
except Exception as e:
try:
pfd.close()
Expand Down

0 comments on commit 4a4ce7f

Please sign in to comment.