From c2c3701804c7b57ceb4e1bfaae157b7bb000becc Mon Sep 17 00:00:00 2001 From: bd Date: Sat, 18 Oct 2025 21:05:37 -0400 Subject: correct throughput graph (obvious mistake I didn't notice) --- nemesis/html_gen.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'nemesis/html_gen.py') diff --git a/nemesis/html_gen.py b/nemesis/html_gen.py index bffa748..3c6fbef 100644 --- a/nemesis/html_gen.py +++ b/nemesis/html_gen.py @@ -8,7 +8,7 @@ TRIM_PERCENT = 0.05 def get_color(name): hash_object = hashlib.md5(name.encode()) color_index = int(hash_object.hexdigest(), 16) % 360 - return f'hsl({color_index}, 100%, 50%)' + return f'hsl({color_index}, 90%, 30%)' def plot_results(results, output_file, input_file): # determine the number of loops we have data for @@ -97,8 +97,8 @@ def plot_results(results, output_file, input_file): mode='markers', name=coro_name, marker=dict(color=get_color(coro_name)), - # hovertext=latency_hover_text, - showlegend=False, + hovertext=latency_hover_text, + showlegend=True, ), row=1, col=col) fig.add_trace(go.Scatter( @@ -116,7 +116,7 @@ def plot_results(results, output_file, input_file): mode='markers', name=coro_name, marker=dict(color=get_color(coro_name)), - # hovertext=max_latency_hover_text, + hovertext=max_latency_hover_text, showlegend=False, ), row=3, col=col) -- cgit v1.2.3