@@ -2040,7 +2040,7 @@ def init():
20402040 ax .set_ylabel ("Probability" )
20412041 ax .set_title ("Wind Gust Distribution" )
20422042 # ax.grid(True)
2043- return ln , * bar_container .patches , tx
2043+ return ( ln , * bar_container .patches , tx )
20442044
20452045 # Define function which sets each animation frame
20462046 def update (frame ):
@@ -2056,7 +2056,7 @@ def update(frame):
20562056 ln .set_data (xdata , ydata )
20572057 # Update hour text
20582058 tx .set_text (f"{ float (frame [0 ]):05.2f} " .replace ("." , ":" ))
2059- return ln , * bar_container .patches , tx
2059+ return ( ln , * bar_container .patches , tx )
20602060
20612061 for frame in wind_gusts_at_given_hour .items ():
20622062 update (frame )
@@ -2243,7 +2243,7 @@ def init():
22432243 label = "SAcup wind speed constraints" ,
22442244 ) # Plot SAcup wind speed constraints
22452245
2246- return ln , * bar_container .patches , tx
2246+ return ( ln , * bar_container .patches , tx )
22472247
22482248 # Define function which sets each animation frame
22492249 def update (frame ):
@@ -2261,7 +2261,7 @@ def update(frame):
22612261 ln .set_data (xdata , ydata )
22622262 # Update hour text
22632263 tx .set_text (f"{ float (frame [0 ]):05.2f} " .replace ("." , ":" ))
2264- return ln , * bar_container .patches , tx
2264+ return ( ln , * bar_container .patches , tx )
22652265
22662266 for frame in surface_wind_speeds_at_given_hour .items ():
22672267 update (frame )
0 commit comments