passengersim.contrast.

duo

Visualization tools for comparing exactly two simulations.

Each function here takes two positional arguments that each provide a SimulationTables object, the “baseline” and “treatment” scenarios to compare. The functions then produce visualizations that show the shift performance metrics (e.g. load factor, local share) from the baseline to the treatment scenarios.

Functions

fig_leg_shifts(baseline, treatment, *[, ...])

Create a scatter/shift chart comparing leg-level metrics between two simulations.

fig_service_shifts(baseline, treatment, *[, ...])

Create a scatter/shift chart comparing service-level metrics between two simulations.