Skip to content

Commit

Permalink
Update plot title
Browse files Browse the repository at this point in the history
  • Loading branch information
svenseeberg committed Mar 17, 2024
1 parent 9694f4b commit 5c282ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions opendrift_leeway_webgui/simulation.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,8 +294,8 @@ def main():
end = start + timedelta(hours=args.duration)

plt.title(
f"Leeway Simulation Object Type: {simulation.get_config('seed:object_type')}\n"
f" From {start.strftime('%d-%m-%Y %H:%M')} to {end.strftime('%d-%m-%Y %H:%M')} UTC"
f"Leeway Simulation Object Type: {simulation.leewayprop[args.object_type]['OBJKEY']}\n"
f" From {start.strftime('%Y-%m-%d %H:%M')} to {end.strftime('%d-%m-%Y %H:%M')} UTC"
)
fig.text(
0,
Expand Down

0 comments on commit 5c282ed

Please sign in to comment.