Hi folks, I’m having an issue creating glyphs that I can update on the bokeh server. The provided animation examples work for me, but when I try to create my own, the glyphs disappear when I update. I’ve tried using the high level plotting syntax:
import bokeh.plotting as bp
import bokeh.objects as bo
radius=0.04, radius_units='data', start_angle=[7*np.pi/8], end_angle=[9*np.pi/8], fill_color='black', fill_alpha=1.0)
renderers = [r for r in bp.curplot().renderers if isinstance(r, bo.Glyph)]
ds = renderers.data_source
ds.data[‘x’] = 0.6
If I omit the last line, I get a wedge in the original position. If I try to update the server-side object, the axes update to the new position of the glyph, but the wedge disappears. I’ve also tried building up the plot myself from a ColumnDataSource and Plot / Wedge objects, with the same result. Can anyone point out where I’m going wrong here?