scope_profiler.plotting_scripts.heatmap
Rank x region duration heatmap.
Functions
| Name | Description |
|---|---|
plot_rank_heatmap | Plot total or exclusive region time as a rank-by-region heatmap. |
plot_rank_heatmapfunction#
def plot_rank_heatmap(profiling_data: ProfilingResults | Sequence[ProfilingResults], ranks: list[int] | int | None = None, include: list[str] | str | None = None, exclude: list[str] | str | None = None, filepath: str | None = None, show: bool = False, verbose: bool = True, cmap: str = 'viridis', data_filepath: str | Path | None = None, data_format: str = 'csv', backend: str = 'matplotlib', return_fig: bool = False, exclusive: bool = False) -> object | NonePlot total or exclusive region time as a rank-by-region heatmap.