Skip to content

Commit

Permalink
chore: some simplifications in naming
Browse files Browse the repository at this point in the history
  • Loading branch information
nishaq503 committed Nov 13, 2023
1 parent 1bee3a6 commit dda8a23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cakes-results/python/cakes_results/lfd_plots/plots.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ def create_plots(
ax.set_ylabel(prop)

if prop.startswith("ratio"):
# Set the y-axis limits to (0, 1.05)
# Set the y-axis limits to (-0.05, 1.05)
ax.set_ylim(0, 1.05)

# Tighten the layout
fig.tight_layout()

# Save the figure
output_file_name = f"{dataset}_{metric}_{prop}_vs_depth.png"
output_file_name = f"{prop}.png"
output_file = output_dir.joinpath(output_file_name)
fig.savefig(output_file, dpi=300)

0 comments on commit dda8a23

Please sign in to comment.