Expand description
Color palettes and options for flame graph generation.
Structs§
- Palette
Map - Mapping of the association between a function name and the color used when drawing information from this function.
- Search
Color SearchColor::default()isrgb(230,0,230).
Enums§
- Background
Color - A flame graph background color.
- Basic
Palette - A plain color palette in which the color is not chosen based on function semantics.
- Multi
Palette - A semantic color palette in which different hues are used to signify semantic aspects of different function names (kernel functions, JIT functions, etc.).
- Palette
- A flame graph color palette.
- Stroke
Color StrokeColor::default()isNone.
Functions§
- parse_
hex_ color - Parses a string as a hex color, returning None if it is an invalid color