ylim on plots for time series in decomposition and results #268
-
Reported by @FransSchaars. The bounds are now taken as the min and max, it would be nice if this is min/max + 10% of the range of the fluctuation. StepModel shows the problem with the bounds nicely. See following figure. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
Yes, it is a problem with the step-model, but for all the other graphs I do not want unnecessary whitespace. Maybe we can make the extra whitespace optional? |
Beta Was this translation helpful? Give feedback.
-
In ml.plots.decomposition there already is the optional argument min_ylim_diff, which makes sure every subplot has a certain height. In your example you could set this to 1 meter:
|
Beta Was this translation helpful? Give feedback.
-
Cool thanks that works very well! Gonna change this to a discussion and highlight your answer for future reference! |
Beta Was this translation helpful? Give feedback.
In ml.plots.decomposition there already is the optional argument min_ylim_diff, which makes sure every subplot has a certain height. In your example you could set this to 1 meter:
ml.plots.decomposition(min_ylim_diff=1.0)