Skip to content

Commit db2e7f7

Browse files
committed
label: fix docstrings/typing annotations
1 parent 03faaa4 commit db2e7f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plotpy/builder/label.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ def computations(
234234
title: label name. Default is None
235235
236236
Returns:
237-
:py:class:`.DataInfoLabel` object
237+
Data info label object
238238
"""
239239
comps = []
240240
same_curve = True
@@ -257,7 +257,7 @@ def computation2d(
257257
image: ImageItem,
258258
function: Callable,
259259
title: str | None = None,
260-
) -> RangeComputation2d:
260+
) -> DataInfoLabel:
261261
"""Make a 2D computation label `plot item`
262262
263263
Args:
@@ -270,7 +270,7 @@ def computation2d(
270270
title: label name. Default is None
271271
272272
Returns:
273-
:py:class:`.RangeComputation2d` object
273+
Data info label object
274274
"""
275275
return self.computations2d(
276276
rect, anchor, [(image, label, function)], title=title
@@ -288,7 +288,7 @@ def computations2d(
288288
title: label name. Default is None
289289
290290
Returns:
291-
:py:class:`.DataInfoLabel` object
291+
Data info label object
292292
"""
293293
comps = []
294294
same_image = True

0 commit comments

Comments
 (0)