Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Legend breaks plot when plotting empty scatter glyph #8395
When plotting an empty scatter glyph, which is often useful when streaming data, the legend breaks because it cannot determine the correct marker to render the legend items. A basic example to reproduce
from bokeh.plotting import figure p = figure(x_range=(0, 5), y_range=(0, 3)) scatter = p.scatter(, , legend='Some legend entry')
This is reproducible using bokeh 1.0.0 and bokeh 1.0.1 and likely originates in this PR #8285 generalizing the scatter glyph.