Skip to content

Commit

Permalink
Update Label
Browse files Browse the repository at this point in the history
  • Loading branch information
Gistbatch committed Apr 3, 2024
1 parent a6b9366 commit d7f1074
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/benchmark/heuristic_processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def analyze_heuristic_benchmarks(in_file: str) -> None:
"""
with open(in_file, "r", encoding="utf-8") as f:
data: list[dict] = json.load(f)
for setting in enumerate(data):
for setting in data:
benchmarks = setting["benchmarks"]
makespans, scores, noises = [], [], []
# Loop through each benchmark
Expand Down Expand Up @@ -123,7 +123,7 @@ def _plot_boxplots(

score_data.plot(kind="box", ax=axes[1], **props)
axes[1].set_title("Cost", fontname="Nimbus Roman", fontsize=12)
axes[1].set_ylabel(r"$\mathbf{\Xi}$", fontname="Nimbus Roman")
axes[1].set_ylabel(r"$\mathbf{P_\text{max}}$", fontname="Nimbus Roman")
axes[1].set_xticklabels([])

noise_data.plot(kind="box", ax=axes[2], **props)
Expand Down
Binary file modified data/results/benchmark_results_heuristic.pdf
Binary file not shown.

0 comments on commit d7f1074

Please sign in to comment.