Skip to content

Commit

Permalink
Afficher le podium des compétitions
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineTSP committed May 1, 2024
1 parent c77c651 commit a7720b8
Show file tree
Hide file tree
Showing 2 changed files with 149 additions and 28 deletions.
173 changes: 147 additions & 26 deletions main.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions utils/viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ def display_header(header):
display(Markdown(f"**Label:** {header['label']}"))


def display_podium(data):
def display_podium(data, title):
"""
Display the podium visualization.
Expand Down Expand Up @@ -139,7 +139,7 @@ def display_podium(data):
)

fig.update_layout(
title="Podium",
title=title,
yaxis_title="Durée",
yaxis=dict(
tickvals=[1, 2, 3],
Expand Down

0 comments on commit a7720b8

Please sign in to comment.