Added a new file plotting.py, which contains the function export_hill_plot. This is integrated in the main function of hillmaker, make_hills. This function is based on a code sample from @misken with some notable extensions:
Explicitly declaring a plot style (seaborn-darkgrid)
Infer number of days plotted based on bin_size_minutes
Generalized plot labels and titles
Added capacity line for occupancy plots (optional)
Exports plots to png files in specified output directory
There are a few open items I would like to have resolved at some point:
[ ] Consider generating plots by different categories if catfield is supplied
[ ] Allow user to supply percentile to be plotted with the mean
[ ] Create meaningful combinations of plots, i.e. combining arrivals and occupancy (thinking using facets instead of dual-axes)
Plotting Feature
Added a new file plotting.py, which contains the function
export_hill_plot
. This is integrated in the main function of hillmaker,make_hills
. This function is based on a code sample from @misken with some notable extensions:There are a few open items I would like to have resolved at some point:
catfield
is supplied