Skip to content

Commit

Permalink
boxi
Browse files Browse the repository at this point in the history
Signed-off-by: neuronflow <7048826+neuronflow@users.noreply.github.com>
  • Loading branch information
neuronflow committed Nov 23, 2023
1 parent 608a750 commit 5aea632
Show file tree
Hide file tree
Showing 6 changed files with 6,379 additions and 3 deletions.
Binary file removed benchmark/analysis/2d_simple_comparison.png
Binary file not shown.
Binary file removed benchmark/analysis/3d_dense_comparison.png
Binary file not shown.
Binary file removed benchmark/analysis/3d_spine_comparison.png
Binary file not shown.
Binary file modified benchmark/analysis/all_subplots.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
notch=False,
ax=axes[i, 0],
palette=dict(zip(unique_platforms, colors)),
linewidth=2, # Increase the linewidth
)
axes[i, 0].set_title(
f"Approximation Time Comparison - {condition}", fontsize=title_font_size
Expand All @@ -56,6 +57,7 @@
notch=False,
ax=axes[i, 1],
palette=dict(zip(unique_platforms, colors)),
linewidth=2, # Increase the linewidth
)
axes[i, 1].set_title(
f"Matching Time Comparison - {condition}", fontsize=title_font_size
Expand All @@ -72,6 +74,7 @@
notch=False,
ax=axes[i, 2],
palette=dict(zip(unique_platforms, colors)),
linewidth=2, # Increase the linewidth
)
axes[i, 2].set_title(
f"Evaluation Time Comparison - {condition}", fontsize=title_font_size
Expand All @@ -82,9 +85,10 @@

# Save the entire figure after all subplots have been created
plt.tight_layout()
file_name = turbopath(__file__).parent + "/all_subplots.png"
file_name = turbopath(__file__).parent + "/boxplot_times.eps"

plt.savefig(file_name, bbox_inches="tight")
# Save with separate SVG formatter to include colors
fig.savefig(file_name, format="eps", bbox_inches="tight")
plt.close()

print("Plots saved successfully.")
print("Plots saved successfully as EPS.")
Loading

0 comments on commit 5aea632

Please sign in to comment.