fig_leg_bid_price_array¶
-
passengersim.tracers.bid_price.fig_leg_bid_price_array(summary: SimulationTables, *, leg_id: int, raw_df: bool =
False) alt.Chart | pd.DataFrame[source]¶ Plot the mean bid-price array heatmap for a single leg.
- Parameters:
- summary : SimulationTables¶
Simulation results containing
leg_bid_price_arrays.- leg_id : int¶
The ID of the leg to plot.
- raw_df : bool, optional¶
When
True, return the tidypandas.DataFrameused to build the chart instead of the chart itself. Defaults toFalse.
- Returns:
alt.Chart or pd.DataFrame – An interactive Altair heatmap chart when raw_df is
False, or apandas.DataFramewhen raw_df isTrue.