Skip to content

Commit b8aa565

Browse files
authored
Merge pull request #160 from ejeschke/fix-image-stretch
Fix test for stretch
2 parents 3382c7e + e8afd11 commit b8aa565

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astrowidgets/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ def stretch(self):
814814
"""
815815
The image stretching algorithm in use.
816816
"""
817-
return self._viewer.rgbmap.dist
817+
return self._viewer.rgbmap.get_dist()
818818

819819
# TODO: Possible to use astropy.visualization directly?
820820
@stretch.setter

0 commit comments

Comments
 (0)