diff options
Diffstat (limited to 'nemesis/html_gen.py')
| -rw-r--r-- | nemesis/html_gen.py | 8 |
1 files changed, 4 insertions, 4 deletions
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) |
