state_dummy_visualizer

Dummy state visualizer implementation.

This module provides a placeholder visualizer for algorithm state evolution that does nothing, useful for testing or when state visualizers is not needed.

class pysatl_cpd.analysis.visualization.online.states.state_dummy_visualizer.DummyStateVisualizer(backend)[source]

Bases: IOnlineStateVisualizer, Generic

Dummy state visualizer that performs no actual rendering.

This visualizer implements the IOnlineStateEvolutionVisualizer interface but does nothing when drawn. It declares an empty set of axes, making it suitable for use as a placeholder when state visualizers is not required or for testing purposes.

Parameters:

backend (DrawBackend) – Plotting backend to use (inherited from IVisualizer).

__init__(backend)[source]
Parameters:

backend (DrawBackend)

Return type:

None

property axes: set[str]

Declare the subplot names required by this visualizer.

Returns:

Empty set indicating that this visualizer does not require any axes.

Return type:

set[str]

set_states(states, **draw_options)[source]

Set the sequence of algorithm states.

This implementation stores the states but does not use them for rendering.

Parameters:
Returns:

Returns self to allow method chaining.

Return type:

Self