Skip to content

Commit 2002a85

Browse files
committed
Fix code style issues with Black
1 parent 145e4c5 commit 2002a85

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

rocketpy/EnvironmentAnalysis.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ def __init__(
231231
longitude=self.longitude,
232232
elevation=self.elevation,
233233
)
234-
forecast_args = forecast_args or {'type': 'Forecast', 'file': 'GFS'}
234+
forecast_args = forecast_args or {"type": "Forecast", "file": "GFS"}
235235
Env.setAtmosphericModel(**forecast_args)
236236
self.forecast[hour] = Env
237237

@@ -2565,7 +2565,9 @@ def plot_wind_profile_over_average_day(self, clear_range_limits=False):
25652565
if self.forecast:
25662566
forecast = self.forecast
25672567
y = self.average_wind_profile_at_given_hour[hour][1]
2568-
x = forecast[hour].windSpeed.getValue(y) * convert_units(1, "m/s", self.unit_system['wind_speed'])
2568+
x = forecast[hour].windSpeed.getValue(y) * convert_units(
2569+
1, "m/s", self.unit_system["wind_speed"]
2570+
)
25692571
ax.plot(x, y, "b--")
25702572

25712573
ax.label_outer()

0 commit comments

Comments
 (0)