Skip to content

Commit

Permalink
Fix os.path.join bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Baschdl committed Jan 30, 2024
1 parent 8c6b6d0 commit 3805911
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labproject/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ def plot_scaling_metric_dimensionality(dimensionality, distances, metric_name, d
plt.xlabel("Dimensionality")
plt.ylabel(metric_name)
plt.title(f"{metric_name} with increasing dimensionality for {dataset_name}")
plt.savefig(os.join(plots_path,
plt.savefig(os.path.join(plots_path,
f"{metric_name.lower().replace(' ', '_')}_dimensionality_{dataset_name.lower().replace(' ', '_')}.png"))
plt.close()

0 comments on commit 3805911

Please sign in to comment.