I was playing with segments, and everything was find as long as I used lists of integers, however I had a need come up where I needed/wanted to put time on the x axis and integers on the y axis. (It was to show durations(x axis in time) of behavior and the frequency/popularity(y-axis) of those patterns).
I was trying to do this with some dataframes in pandas and was not getting what I expected.
When I simplified the problem to the below I did not get an x-axis that I was expecting.
import bokeh.plotting as bp
bp.output_file(“categorical.html”, title=“categorical.py example”)
bp.segment([datetime.date(2014,1,1)], , [datetime.date(2014,1,7)], ,
line_width=20, line_color=“green”, title=“Dot Plot”)
my x axis I was expecting to be some dates or some sort of readable range, however the tick marks are things like “1.3886e+12” “1.3887e+12”, is that expected?