bucky.viz.utils
#
Utility functions for plotting.
Module Contents#
Functions#
|
Gets Bucky fitted historical data for the requested columns and dates. |
|
Gets historical data for the requested columns and dates. |
|
Gets Bucky simulation data from the requested input directory at the requested |
- bucky.viz.utils.get_fitted_data(cfg, level, date_range)[source]#
Gets Bucky fitted historical data for the requested columns and dates. admin level.
- Parameters:
- Returns:
df – Bucky fitted historical data in DataFrame
- Return type:
- bucky.viz.utils.get_historical_data(cfg, level, date_range)[source]#
Gets historical data for the requested columns and dates. admin level.
- Parameters:
- Returns:
df – Historical data in DataFrame
- Return type:
- bucky.viz.utils.get_simulation_data(input_dir, level)[source]#
Gets Bucky simulation data from the requested input directory at the requested admin level.
- Parameters:
input_dir (
matplotlib.axes.Axes
) – Directory in which Bucky simulation data is locatedlevel (
str
) – Requested admin level
- Returns:
sim_data – Bucky simulation data in DataFrame
- Return type: