☰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

Datetime axis ticks, spacing and format

Community Support
RobM
RobM

Hi,
I’m trying to produce a chart with a datetime x axis, with ticks spaced at one month using

p.xaxis.ticker = MonthsTicker(months=(4,5,6,7,8,9,10,11,12,1,2,3))

however I would also like to specify the format of the label e.g.

p.xaxis.formatter = DatetimeTickFormatter(months=["%b %y"])

iIs there a method to specify both spacing and format of Datetime axis ticks?

⌁   Link to post

End of archived discussion · Replies are disabled