pathpy_plot
Abstract base class for plot data preparation.
Provides common foundation for assembling plot data and configuration before backend-specific rendering. Handles configuration loading and data structure initialization.
PathPyPlot
¶
Abstract base class for plot data assembly.
Prepares network data and configuration for backend rendering. Subclasses implement specific plot types (static, temporal, histogram, etc.).
Attributes:
| Name | Type | Description |
|---|---|---|
data |
dict
|
Dictionary containing processed plot data |
config |
dict
|
Visualization configuration from pathpyG settings |
Source code in src/pathpyG/visualisations/pathpy_plot.py
__init__
¶
Initialize plot with empty data and default configuration.
Loads visualization config and normalizes color settings from lists to tuples for consistency across backends.
Source code in src/pathpyG/visualisations/pathpy_plot.py
generate
¶
Generate plot data structures.
Raises:
| Type | Description |
|---|---|
NotImplementedError
|
Must be implemented by subclasses |