Hi,
I’m trying to make a plot à la this one in the docs with pandas dataframes (so I follow this recipe again from the docs).
My script gives me this warning:
Created new window in existing browser session.
1047 [493:529:1122/201630.270760:ERROR:browser_gpu_channel_host_factory.cc(108)] Failed to launch GPU process.
``
But I’ve successfully rendered line graphs with this error popping up.
And the output generated is just an absolutely blank canvas.
I’ve written an MRE that replicates my issue:
import pandas as pd
from bokeh.models import ColumnDataSource
from bokeh.plotting import figure
from bokeh.io import show
data = [
["A", "X", 10],
["A", "Y", 11],
["B", "X", 9],
["B", "Y", 12],
["C", "X", 8],
["C", "Y", 9],
]
df = pd.DataFrame(data)
df.columns = [“cat1”, “cat2”, “val”]
grouped = df.groupby((“cat1”, “cat2”))
source = ColumnDataSource(grouped)
p = figure()
p.vbar(x = “cat1_cat2”, top = “val_mean”, source = source, width = 1)
show(p)
``
Did I miss anything stupid?