benchmark_plotter
Benchmark plotter coordinator.
- type pysatl_cpd.analysis.visualization.benchmarking.plotters.benchmark_plotter.MetricVisualizerName = str
- type pysatl_cpd.analysis.visualization.benchmarking.plotters.benchmark_plotter.MetricPlotName = str
- class pysatl_cpd.analysis.visualization.benchmarking.plotters.benchmark_plotter.BenchmarkPlotter[source]
Bases:
objectCoordinate benchmark metric visualizers.
- __getitem__(metric_name)[source]
Access a registered metric visualizer by name.
- set_benchmark_tables(benchmark_tables)[source]
Set benchmark result tables and propagate them to all metrics.
- set_metrics(metrics)[source]
Register metric visualizers and optionally propagate tables.
- Parameters:
metrics (
dict[str,IMetricVisualizer]) – Named metric visualizers to register.- Returns:
Returns self to allow method chaining.
- Return type:
Self
- set_entry_draw_opts(*, entry, **options)[source]
Set entry-wide line draw options on all registered metric visualizers.
- set_entry_metric_draw_opts(*, entry, metric, **options)[source]
Set entry+metric line draw options on all registered metric visualizers.
- draw(figure, axes)[source]
Coordinate drawing of all registered metric visualizers.
- Parameters:
- Returns:
The figure with all metric visuals drawn.
- Return type:
Figure|Figure- Raises:
ValueError – If benchmark tables or metrics are not set, or required columns or axes are missing.