AmpersandTV / pymc3-hmm

Hidden Markov models in PyMC3
Other
95 stars 13 forks source link

plot_split_timeseries has cluttered axes labels for large split frequencies #50

Closed brandonwillard closed 3 years ago

brandonwillard commented 3 years ago

The matplotlib locators and formatters in pymc3_hmm.utils.plot_split_timeseries are specific to hours and weekdays and result in a very cluttered x-axis when splits are not near those scales (e.g. splitting by year). At the very least, we should disable those settings and leave them to be set by the caller.

Ideally, we could attempt to automatically set those based on the split_freq (or split_offset).