Bokeh incorrectly creates an empty plot with the following:
from bokeh.plotting import figure, output_file, show
ys = [4.471799184102565e-05, 0.0009856299875536934, 0.0011045119899790734]
xs = range(len(ys))
output_file("log.html")
p = figure(y_axis_type="log")
p.line(xs, ys)
show(p)
The problem only occurs if y_axis_type="log" is used.
It seems when the range of y values is too narrow bokeh fails to compute the y-axis range. If I multiple the y values by 100, it plots properly.
Tested on bokeh version: 0.11.1 py34_0
Bokeh incorrectly creates an empty plot with the following:
The problem only occurs if
y_axis_type="log"is used.It seems when the range of y values is too narrow bokeh fails to compute the y-axis range. If I multiple the y values by 100, it plots properly.
Tested on bokeh version: 0.11.1 py34_0