Skip to content

Commit

Permalink
style: black format
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin18 committed Jan 27, 2024
1 parent a7cb6c3 commit 9e0d3a9
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions scripts/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,14 @@ def read_metrics(filename: str) -> pd.DataFrame:
line,
).groups()

data.append({
"episode": int(episode),
"winning_rate": float(winning_rate),
"mean_score": float(mean_score),
"max_tile": int(max_tile),
})
data.append(
{
"episode": int(episode),
"winning_rate": float(winning_rate),
"mean_score": float(mean_score),
"max_tile": int(max_tile),
}
)

return pd.DataFrame(data)

Expand Down

0 comments on commit 9e0d3a9

Please sign in to comment.