Skip to content

Commit

Permalink
Update plot colors to be colorblind compatible (#807)
Browse files Browse the repository at this point in the history
* Update plot colors to be colorblind compatible

* add website link
  • Loading branch information
tgerdesnv authored Jan 11, 2024
1 parent 19f69e4 commit dcb1b4c
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions model_analyzer/plots/detailed_plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,14 @@ def __init__(self, name, title, bar_width=0.5):
)
]

# Okabe-Ito guideline colors for colorblind
# https://jfly.uni-koeln.de/color/#select
self._bar_colors = {
"perf_server_queue": "#9daecc",
"perf_server_compute_input": "#7eb7e8",
"perf_server_compute_infer": "#0072ce",
"perf_server_compute_output": "#254b87",
"perf_throughput": "#5E5E5E",
"perf_server_queue": "#e69f00",
"perf_server_compute_input": "#56b4e9",
"perf_server_compute_infer": "#009e73",
"perf_server_compute_output": "#f0e442",
"perf_throughput": "#000000",
}

self._bar_width = bar_width
Expand Down

0 comments on commit dcb1b4c

Please sign in to comment.