Skip to content

Commit e8e477b

Browse files
committed
Replace show_fits with show_fits_image method
1 parent 6985122 commit e8e477b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

python/lsst/display/firefly/firefly.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def __handleCallbacks(event):
6464
pParams = {'URL': 'http://web.ipac.caltech.edu/staff/roby/demo/wise-m51-band2.fits',
6565
'ColorTable': '9'}
6666
plot_id = 3
67-
_fireflyClient.show_fits(fileOnServer=None, plot_id=plot_id, additionalParams=pParams)
67+
_fireflyClient.show_fits_image(fileOnServer=None, plot_id=plot_id, additionalParams=pParams)
6868

6969
_LOG.debug("Callback event info: %s", event)
7070
return
@@ -186,8 +186,8 @@ def _mtv(self, image, mask=None, wcs=None, title="", metadata=None):
186186
if self._lastStretch:
187187
extraParams['RangeValues'] = self._lastStretch
188188

189-
ret = _fireflyClient.show_fits(self._fireflyFitsID, plot_id=str(self.display.frame),
190-
**extraParams)
189+
ret = _fireflyClient.show_fits_image(self._fireflyFitsID, plot_id=str(self.display.frame),
190+
**extraParams)
191191

192192
if not ret["success"]:
193193
raise RuntimeError("Display of image failed")

0 commit comments

Comments
 (0)