Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python/lsst/display/firefly/firefly.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def __handleCallbacks(event):
pParams = {'URL': 'http://web.ipac.caltech.edu/staff/roby/demo/wise-m51-band2.fits',
'ColorTable': '9'}
plot_id = 3
_fireflyClient.show_fits(fileOnServer=None, plot_id=plot_id, additionalParams=pParams)
_fireflyClient.show_fits_image(fileOnServer=None, plot_id=plot_id, additionalParams=pParams)

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

ret = _fireflyClient.show_fits(self._fireflyFitsID, plot_id=str(self.display.frame),
**extraParams)
ret = _fireflyClient.show_fits_image(self._fireflyFitsID, plot_id=str(self.display.frame),
**extraParams)

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