@@ -60,7 +60,7 @@ def __init__(
60
60
should_center : bool = True ,
61
61
height : float | None = None ,
62
62
organize_left_to_right : bool = False ,
63
- tex_environment : str = "align*" ,
63
+ tex_environment : str | None = "align*" ,
64
64
tex_template : TexTemplate | None = None ,
65
65
font_size : float = DEFAULT_FONT_SIZE ,
66
66
color : ParsableManimColor | None = None ,
@@ -260,7 +260,7 @@ def __init__(
260
260
arg_separator : str = " " ,
261
261
substrings_to_isolate : Iterable [str ] | None = None ,
262
262
tex_to_color_map : dict [str , ManimColor ] | None = None ,
263
- tex_environment : str = "align*" ,
263
+ tex_environment : str | None = "align*" ,
264
264
** kwargs : Any ,
265
265
):
266
266
self .tex_template = kwargs .pop ("tex_template" , config ["tex_template" ])
@@ -466,7 +466,7 @@ def __init__(
466
466
self ,
467
467
* tex_strings : str ,
468
468
arg_separator : str = "" ,
469
- tex_environment : str = "center" ,
469
+ tex_environment : str | None = "center" ,
470
470
** kwargs : Any ,
471
471
):
472
472
super ().__init__ (
@@ -500,7 +500,7 @@ def __init__(
500
500
* items : str ,
501
501
buff : float = MED_LARGE_BUFF ,
502
502
dot_scale_factor : float = 2 ,
503
- tex_environment : str = "" ,
503
+ tex_environment : str | None = None ,
504
504
** kwargs : Any ,
505
505
):
506
506
self .buff = buff
0 commit comments