☰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

Help labels bokeh

Community Support
Erick_Erazo
Erick_Erazo

Hey I’m new using bokeh I would like to know how to rotate the labels that are piled at the bottom. the code that I have is the following:

import numpy as np
import pandas as pd
import pandas_bokeh
pandas_bokeh.output_notebook()

pd.set_option('plotting.backend', 'pandas_bokeh')

from bokeh.models.widgets import DataTable, TableColumn
from bokeh.models import ColumnDataSource

region = data.groupby(['Order Region'])['Sales per customer'].sum().reset_index().sort_values('Sales per customer')
df = pd.DataFrame(region).set_index("Order Region")

p_bar = df.plot_bokeh.bar(
    ylabel="Order Region", 
    title="Ventas por región", color="Green", legend = "top_left",
    alpha=0.6)

⌁   Link to post
p-himik
p-himik
⌁   Link to post

End of archived discussion · Replies are disabled