Skip to content

Commit

Permalink
minor updates to plotting scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
josehu07 committed Dec 7, 2023
1 parent d66c211 commit 495f4d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/bench_failover.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def plot_results(results, odir):
"MultiPaxos": ("MultiPaxos", "dimgray", "--", 1.2),
"Raft": ("Raft", "forestgreen", "--", 1.2),
"RSPaxos": ("RSPaxos (f=1)", "red", "-.", 1.3),
"CRaft": ("CRaft (f=1, fb. ok)", "peru", ":", 1.5),
"CRaft": ("CRaft (f=1, fb=ok)", "peru", ":", 1.5),
}

ymax = 0.0
Expand Down Expand Up @@ -365,7 +365,7 @@ def draw_recovery_indicator(x, y, w, t, toffx, toffy):
def draw_config_indicator(x, y, c, q, color, fb=False, unavail=False):
t = f"[c={c},q={q}]"
if fb:
t += "\nfb. ok"
t += "\nfb=ok"
if unavail:
t += "\nunavail."
plt.annotate(
Expand Down

0 comments on commit 495f4d6

Please sign in to comment.