File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
src/astro_image_display_api Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,8 @@ def get_stretch(
135135 )
136136 return self ._images [image_label ].stretch
137137
138+ get_stretch .__doc__ = ImageViewerInterface .get_stretch .__doc__
139+
138140 def set_stretch (
139141 self ,
140142 value : BaseStretch ,
@@ -153,6 +155,8 @@ def set_stretch(
153155 )
154156 self ._images [image_label ].stretch = value
155157
158+ set_stretch .__doc__ = ImageViewerInterface .set_stretch .__doc__
159+
156160 def get_cuts (
157161 self ,
158162 image_label : str | None = None ,
@@ -165,6 +169,8 @@ def get_cuts(
165169 )
166170 return self ._images [image_label ].cuts
167171
172+ get_cuts .__doc__ = ImageViewerInterface .get_cuts .__doc__
173+
168174 def set_cuts (
169175 self ,
170176 value : tuple [numbers .Real , numbers .Real ] | BaseInterval ,
@@ -187,6 +193,8 @@ def set_cuts(
187193 )
188194 self ._images [image_label ].cuts = self ._cuts
189195
196+ set_cuts .__doc__ = ImageViewerInterface .set_cuts .__doc__
197+
190198 def set_colormap (
191199 self ,
192200 map_name : str ,
@@ -365,6 +373,8 @@ def get_image(
365373 )
366374 return self ._images [image_label ].data
367375
376+ get_image .__doc__ = ImageViewerInterface .get_image .__doc__
377+
368378 @property
369379 def image_labels (self ) -> tuple [str , ...]:
370380 return tuple (k for k in self ._images .keys () if k is not None )
You can’t perform that action at this time.
0 commit comments