@@ -414,8 +414,9 @@ def extract_mobject_family_members(self, mobjects, only_those_with_points=False)
414414 else :
415415 method = Mobject .get_family
416416 if self .use_z_index :
417- mobjects = sorted (mobjects ,key = lambda m : m .z_index )
417+ mobjects = sorted (mobjects , key = lambda m : m .z_index )
418418 return remove_list_redundancies (list (it .chain (* [method (m ) for m in mobjects ])))
419+
419420 def get_mobjects_to_display (
420421 self , mobjects , include_submobjects = True , excluded_mobjects = None
421422 ):
@@ -438,7 +439,7 @@ def get_mobjects_to_display(
438439 """
439440 if include_submobjects :
440441 mobjects = self .extract_mobject_family_members (
441- mobjects , only_those_with_points = True ,
442+ mobjects , only_those_with_points = True
442443 )
443444 if excluded_mobjects :
444445 all_excluded = self .extract_mobject_family_members (excluded_mobjects )
@@ -973,9 +974,7 @@ def overlay_rgba_array(self, pixel_array, new_array):
973974 new_array : np.array
974975 The new pixel array to overlay.
975976 """
976- self .overlay_PIL_image (
977- pixel_array , self .get_image (new_array ),
978- )
977+ self .overlay_PIL_image (pixel_array , self .get_image (new_array ))
979978
980979 def overlay_PIL_image (self , pixel_array , image ):
981980 """Overlays a PIL image on the passed pixel array.
@@ -1091,9 +1090,9 @@ def adjusted_thickness(self, thickness):
10911090 """
10921091 # TODO: This seems...unsystematic
10931092 big_sum = op .add (
1094- camera_config ["default_pixel_height" ], camera_config ["default_pixel_width" ],
1093+ camera_config ["default_pixel_height" ], camera_config ["default_pixel_width" ]
10951094 )
1096- this_sum = op .add (self .get_pixel_height (), self .get_pixel_width (), )
1095+ this_sum = op .add (self .get_pixel_height (), self .get_pixel_width ())
10971096 factor = fdiv (big_sum , this_sum )
10981097 return 1 + (thickness - 1 ) / factor
10991098
0 commit comments