Skip to content

Commit

Permalink
fixed typo in exploratory plots script
Browse files Browse the repository at this point in the history
  • Loading branch information
merillium committed Feb 5, 2024
1 parent ed87235 commit 5327bf1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions exploratory_plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
BASE_FILE_NAME = "lichess_db_standard_rated_2015-01"


if not os.path.exists(Folders.EXPLORATORY_PLOTS_FOLDER.value):
os.mkdir(Folders.EXPLORATORY_PLOTS_FOLDER.value)
if not os.path.exists(Folders.EXPLORATORY_PLOTS.value):
os.mkdir(Folders.EXPLORATORY_PLOTS.value)

## load the player features dataframe
all_player_features = pd.read_csv(
Expand Down Expand Up @@ -62,7 +62,7 @@

fig.add_vline(x=0, line_dash="dash", line_color="blue", line_width=2, opacity=0.5)
fig.write_html(
f"{Folders.EXPLORATORY_PLOTS_FOLDER.value}/{BASE_FILE_NAME}_{time_group}_rating_gain.html"
f"{Folders.EXPLORATORY_PLOTS.value}/{BASE_FILE_NAME}_{time_group}_rating_gain.html"
)


Expand Down Expand Up @@ -111,5 +111,5 @@

fig.add_vline(x=0.0, line_dash="dash", line_color="blue", line_width=2, opacity=0.5)
fig.write_html(
f"{Folders.EXPLORATORY_PLOTS_FOLDER.value}/{BASE_FILE_NAME}_{time_group}_perf_diff.html"
f"{Folders.EXPLORATORY_PLOTS.value}/{BASE_FILE_NAME}_{time_group}_perf_diff.html"
)

0 comments on commit 5327bf1

Please sign in to comment.