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__(
116116 ) -> None :
117117 self .u_range = u_range
118118 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+ )
120126 self .resolution = resolution
121127 self .surface_piece_config = surface_piece_config
122- self .fill_color : ManimColor = ManimColor (fill_color )
123- self .fill_opacity = fill_opacity
124128 if checkerboard_colors :
125129 self .checkerboard_colors : list [ManimColor ] = [
126130 ManimColor (x ) for x in checkerboard_colors
127131 ]
128132 else :
129133 self .checkerboard_colors = checkerboard_colors
130- self .stroke_color : ManimColor = ManimColor (stroke_color )
131- self .stroke_width = stroke_width
132134 self .should_make_jagged = should_make_jagged
133135 self .pre_function_handle_to_anchor_scale_factor = (
134136 pre_function_handle_to_anchor_scale_factor
You can’t perform that action at this time.
0 commit comments