@@ -286,8 +286,10 @@ def create_line(
286286 masked_x , self .bins , box_volume = box_volume
287287 )
288288 if self .box_size_correction is not None :
289- mass_function_output = self .box_size_correction .apply_mass_function_correction (
290- mass_function_output
289+ mass_function_output = (
290+ self .box_size_correction .apply_mass_function_correction (
291+ mass_function_output
292+ )
291293 )
292294 self .output = (
293295 * mass_function_output ,
@@ -334,8 +336,10 @@ def create_line(
334336 return_bin_edges = True ,
335337 )
336338 if self .box_size_correction is not None :
337- mass_function_output = self .box_size_correction .apply_mass_function_correction (
338- mass_function_output
339+ mass_function_output = (
340+ self .box_size_correction .apply_mass_function_correction (
341+ mass_function_output
342+ )
339343 )
340344 self .output = (
341345 * mass_function_output ,
@@ -356,7 +360,6 @@ def highlight_data_outside_domain(
356360 x_lim : List ,
357361 y_lim : List ,
358362 ) -> None :
359-
360363 """
361364 Add arrows to the plot for each data point residing outside the plot's domain.
362365 The arrows indicate where the missing points are. For a given missing data point
@@ -581,9 +584,9 @@ def plot_line(
581584 if self .scatter == "none" or errors is None :
582585 (line ,) = ax .plot (centers , heights , label = label )
583586 elif self .scatter == "errorbar" :
584- ( line , * _ ) = ax .errorbar (centers , heights , yerr = errors , label = label )
587+ line , * _ = ax .errorbar (centers , heights , yerr = errors , label = label )
585588 elif self .scatter == "errorbar_both" :
586- ( line , * _ ) = ax .errorbar (
589+ line , * _ = ax .errorbar (
587590 centers ,
588591 heights ,
589592 yerr = errors ,
0 commit comments