You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The circle renderer of bokehjs doesn't fiend the fields x and y.
The example below
// create a data source to hold dataconstsource=newBokeh.ColumnDataSource({data: {x: [1,2,3],y: [1,2,3]}});// make a plot with some toolsconstplot=Bokeh.Plotting.figure({title: 'Example of random data',tools: "pan,wheel_zoom,box_zoom,reset,save",height: 300,width: 300});// add a line with data from the sourceplot.circle({field: "x"},{field: "y"},{source: source,});// show the plot, appending it to the end of the current sectionBokeh.Plotting.show(plot);
produces warnings in the browser console.
"[bokeh 3.4.1]" "attempted to retrieve property array for nonexistent field 'x'"
"[bokeh 3.4.1]" "attempted to retrieve property array for nonexistent field 'y'"
Replacing plot.circle with plot.scatter generates a valid figure.
The text was updated successfully, but these errors were encountered:
This happens as a side effect of PR #13283. The API changed and now we have either Figure.circle(x, y, radius, options) or Figure.circle({x, y, radius, ...options}). The third argument was interpreted as radius and effectively no source was provided, which resulted in a cascade of errors.
The
circle
renderer of bokehjs doesn't fiend the fieldsx
andy
.The example below
produces warnings in the browser console.
Replacing
plot.circle
withplot.scatter
generates a valid figure.The text was updated successfully, but these errors were encountered: