Skip to content

Commit c2bee3f

Browse files
Fix Text.__init__ to have optional text and material args
1 parent 7fd2c98 commit c2bee3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fury/actor/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ class Text(gfx.Text, Actor):
170170
Additional keyword arguments passed to the parent class.
171171
"""
172172

173-
def __init__(self, text, material, position=None, **kwargs):
173+
def __init__(self, text=None, material=None, position=None, **kwargs):
174174
"""Initialize a Text actor.
175175
176176
Parameters

0 commit comments

Comments
 (0)