Hi! I hope that I’m writing in the right place, if not, sorry!
I’m having trobule using the jitter function inside jupyter notebook 6.2.0, bokeh 2.3.0.
Here it is a minimal working example before adding jitter:
from bokeh.plotting import figure, show, output_notebook
output_notebook()
categories = ['a','b']
source = { 'y' : ['a', 'b', 'b', 'b'], 'x' : [1,2,3,4] }
p = figure(y_range = categories, toolbar_location = None)
p.circle(x="x", y="y", size=10, source = source)
show(p)
This example renders correctly.
If I now add the jitter function
from bokeh.plotting import figure, show, output_notebook
from bokeh.transform import jitter
output_notebook()
categories = ['a','b']
source = { 'y' : ['a', 'b', 'b', 'b'], 'x' : [1,2,3,4] }
p = figure(y_range = categories, toolbar_location = None)
p.circle(x="x", y=jitter("y",10), size=10, source = source)
show(p)
the code runs without errors or warnings, but the figure is not rendered at all.
Am I missing something?
Thanks for the help!