imetric_visualizer
Abstract benchmark metric visualizer.
- class pysatl_cpd.analysis.visualization.abstracts.imetric_visualizer.IMetricVisualizer(backend=DrawBackend.MATPLOTLIB)[source]
Bases:
IVisualizerBase class for benchmark metric visualizers.
A metric visualizer draws a single benchmark result subplot and can be composed by plotters through the shared
IVisualizerinterface.- Parameters:
backend (DrawBackend | str)
- __init__(backend=DrawBackend.MATPLOTLIB)[source]
- Parameters:
backend (DrawBackend | str)
- Return type:
None
- property axes: set[str]
Return required axis names.
- Returns:
Single-axis requirement used by benchmark plotters.
- Return type:
- abstract property requirements: list[str]
Return required benchmark table columns.
- Returns:
Required column names.
- Return type:
- Raises:
NotImplementedError – Subclasses must implement this property.
- set_entry_draw_opts(*, entry, **options)[source]
Set line draw options for all metrics of one benchmark entry.
- Return type:
Self- Parameters:
entry (BenchmarkEntryKey)
- set_entry_metric_draw_opts(*, entry, metric, **options)[source]
Set line draw options for one metric of one benchmark entry.
- Return type:
Self- Parameters:
entry (BenchmarkEntryKey)
metric (str)