Skip to content

Commit 7fd2c98

Browse files
Fix Text class docstring for numpydoc validation
1 parent 051b313 commit 7fd2c98

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

fury/actor/core.py

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,19 @@ class Line(gfx.Line, Actor):
156156

157157

158158
class Text(gfx.Text, Actor):
159-
"""Text actor class."""
159+
"""Text actor class.
160+
161+
Parameters
162+
----------
163+
text : str
164+
The text content.
165+
material : TextMaterial
166+
The material object.
167+
position : tuple, optional
168+
Position of the text in 3D space (x, y, z).
169+
**kwargs : dict
170+
Additional keyword arguments passed to the parent class.
171+
"""
160172

161173
def __init__(self, text, material, position=None, **kwargs):
162174
"""Initialize a Text actor.

0 commit comments

Comments
 (0)