Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified figures/combine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/deepxtrace.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified figures/dispatch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 8 additions & 6 deletions tools/deepxtrace_heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
def create_optimized_ryg_cmap():
"""Create an optimized Red-Yellow-Green colormap (6-color scale)"""
colors = [
(0.0, "#63BE7B"), # Green
(0.3, "#A8D08D"), # Green to Yellow-Green
(0.5, "#FFEB84"), # Center Yellow
(0.7, "#F4B084"), # Yellow to Orange
(0.9, "#FF7C7C"), # Light Red
(1.0, "#C00000") # Red
(0.00, "#4CAF50"), # Green
(0.15, "#81C784"), # Light Green
(0.30, "#AED581"), # Green-Yellow
(0.45, "#FFF176"), # Light Yellow
(0.55, "#FFD54F"), # Yellow
(0.70, "#FFB74D"), # Yellow-Orange
(0.85, "#FF8A65"), # Light Red
(1.00, "#E53935") # Red
]
return LinearSegmentedColormap.from_list("optimized_ryg", colors)

Expand Down