
Hi there,
My company uses Bokeh version 2.4.2
Im not sure what changed here. I normally plot a lot of points and use webgl like this minimum example:
from bokeh.plotting import figure, show
from bokeh.models import ColumnDataSource
# Define a simple DataFrame
data = {
'x_values': [1, 2, 3, 4, 5],
'y_values': [6, 7, 2, 3, 6],
}
# Convert DataFrame to ColumnDataSource
source = ColumnDataSource(data)
# Create a new figure
p = figure(title="Simple Scatter Plot in Bokeh", x_axis_label='x', y_axis_label='y',
output_backend="webgl",
)
# Add a scatter plot to the figure
p.scatter('x_values', 'y_values', source=source, size=20, color="navy", alpha=0.5)
# Display the figure
show(p)
Which outputs:
but without webgl set (so just comment out the above line to #output_backend=“webgl”,)
i can then see the points:
Does anyone know why webgl would have stopped working?
Cheers,
Eric





