Hi,
Is DateSlider still broken?
I tried to create a slider with one month step size as following:
from bokeh.models import DateSlider
import datetime as dt
date_slider = DateSlider(title=‘Test’, start = dt.datetime(2015,1,1), end=dt.datetime(2015,12,31), value=dt.datetime(2015, 5,1), step = 30)
show(date_slider)
Unfortunately, no matter what value I put in the step parameter, the date in the slider varies by one day.
Has there been any update on this functionality?
Best
I think I understand why now. The timestamp in bokeh is in unix time, so stepsize of 30 is not 30 days but 30 miliseconds.
···
On Wednesday, September 20, 2017 at 4:55:04 PM UTC+1, [email protected] wrote:
Hi,
Is DateSlider still broken?
I tried to create a slider with one month step size as following:
from bokeh.models import DateSlider
import datetime as dt
date_slider = DateSlider(title=‘Test’, start = dt.datetime(2015,1,1), end=dt.datetime(2015,12,31), value=dt.datetime(2015, 5,1), step = 30)
show(date_slider)
Unfortunately, no matter what value I put in the step parameter, the date in the slider varies by one day.
Has there been any update on this functionality?
Best