Skip to content

degradation_timeseries_plot should have different label= options #455

@cdeline

Description

@cdeline

At the moment, the degradation_timeseries_plot shows the timeseries shifted pretty far to the right, relative to the raw data timeseries. This is because the yoy_results output from the TA object is right-labeled (annual YoY slopes are 1 year in length and labeled on the right side), and the pd.rolling function to get the rolling median for the timeseries is also right labeled. So if you have the default 365 day rolling median, your timeseries starts 2 years delayed from the raw data.

Being able to select options for 'right', 'center' and 'left' labeling would allow an output closer to what I would expect, which would have the rates line up more closely with the raw data timeseries.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions