wwrechard / pydlm

A python library for Bayesian time series modeling
BSD 3-Clause "New" or "Revised" License
475 stars 98 forks source link

Shouldn't plotPredictN start plotting at date+1 ? #42

Open peterih opened 4 years ago

peterih commented 4 years ago

All my plots with plotpredictN seems to start with the first predicted point above or below the point selected by date= .

To clarify what I mean, I think the line in dml.py for the function plotPredictN :

predictedTimeRange = range(date, date + N)

should be

predictedTimeRange = range(date + 1, date + N +1)