Visualization
Visualization helpers are optional and require matplotlib.
Install visualization dependencies:
pip install -e ".[viz]"
Time Series
from abmforge import plot_timeseries
plot_timeseries(
result.dataset,
metric="infected",
)
Multiple Runs
from abmforge import plot_multiple_runs
plot_multiple_runs(
experiment_result,
metric="mean_wealth",
)
GridWorld
from abmforge import plot_grid
plot_grid(model.world)
Notes
Visualization helpers are intentionally lightweight. They are designed for quick inspection and teaching workflows rather than publication-ready figures.