Migrate create_forecast_figure to replace previously rm plot_timeseries
Description
Migrate create_forecast_figure
to replace previously rm plot_timeseries
.
Proposal
Migrate create_forecast_figure
from SoaM into muttlib to replace plot_timeseries
maybe add some functionality.
https://gitlab.com/mutt_data/soam/-/blob/master/soam/plotting/plot_utils.py#L116
Benefit
Remove redundancy across projects.
Beneficiaries
muttlib users and SoaM codebase.
Acceptance criteria
Add (almost) feature complete replacement for plot_timeseries
.
The new code must also come accompanied with its tests currently present in SoaM.
Notes
In !101 (merged) the functionality for plot_timesereies
was removed in favor of SoaM's create_forecast_figure
which is already tested:
http://gitlab.com/mutt_data/soam/-/blob/master/soam/plotting/plot_utils.py#L116
We also need