☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Plotting DF drops labels?

Community Support
Tom_Brander
Tom_Brander

Using the example in the doc here:
http://bokeh.pydata.org/en/latest/docs/user_guide/charts.html#chart-builders

The 1st example using a pandas df is as follows:

from collections import OrderedDict

from bokeh.charts import Scatter

from bokeh.sampledata.iris import flowers

df = flowers[[“petal_length”, “petal_width”, “species”]]

g = df.groupby(“species”)

scatter = Scatter(g, title=“iris dataset, DataFrame”, notebook=True)

scatter.show()

The doc shows getting the x and y labels

I only get the x-axis and y-axis default label? the rest plost fine

⌁   Link to post
Fabio_Pliger
Fabio_Pliger

Hi Tom,

Thanks for reporting. I’ve just pushed this PR to fix the docs. With 0.8 release new charts design this behaviour is not supported anymore and a more explicit specification is promoted.

Cheers

Fabio

···

On Thursday, February 19, 2015 at 10:40:42 PM UTC+1, Tom Brander wrote:

Using the example in the doc here:
http://bokeh.pydata.org/en/latest/docs/user_guide/charts.html#chart-builders

The 1st example using a pandas df is as follows:

from collections import OrderedDict

from bokeh.charts import Scatter

from bokeh.sampledata.iris import flowers

df = flowers[[“petal_length”, “petal_width”, “species”]]

g = df.groupby(“species”)

scatter = Scatter(g, title=“iris dataset, DataFrame”, notebook=True)

scatter.show()

The doc shows getting the x and y labels

I only get the x-axis and y-axis default label? the rest plost fine

⌁   Link to post

End of archived discussion · Replies are disabled