File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -116,19 +116,21 @@ def __init__(
116
116
) -> None :
117
117
self .u_range = u_range
118
118
self .v_range = v_range
119
- super ().__init__ (** kwargs )
119
+ super ().__init__ (
120
+ fill_color = fill_color ,
121
+ fill_opacity = fill_opacity ,
122
+ stroke_color = stroke_color ,
123
+ stroke_width = stroke_width ,
124
+ ** kwargs ,
125
+ )
120
126
self .resolution = resolution
121
127
self .surface_piece_config = surface_piece_config
122
- self .fill_color : ManimColor = ManimColor (fill_color )
123
- self .fill_opacity = fill_opacity
124
128
if checkerboard_colors :
125
129
self .checkerboard_colors : list [ManimColor ] = [
126
130
ManimColor (x ) for x in checkerboard_colors
127
131
]
128
132
else :
129
133
self .checkerboard_colors = checkerboard_colors
130
- self .stroke_color : ManimColor = ManimColor (stroke_color )
131
- self .stroke_width = stroke_width
132
134
self .should_make_jagged = should_make_jagged
133
135
self .pre_function_handle_to_anchor_scale_factor = (
134
136
pre_function_handle_to_anchor_scale_factor
You can’t perform that action at this time.
0 commit comments