How to set axis_label_text_font,eg:times roma,we need more example

how to set axis_label_text_font,eg:times roma,we need more example.
but we can not find any information in your website.

You just set it as any other attribute. There’s nothing special about it.

from bokeh.io import show
from bokeh.layouts import column
from bokeh.plotting import figure

p = figure()
p.x(0, 0)

p.xaxis.axis_label = "Hello there"
p.xaxis.axis_label_text_font = 'Times New Roman'
p.yaxis.axis_label = "I'm an axis"
p.yaxis.axis_label_text_font = 'Helvetica'

show(column(p))

1 Like

Thanks a lot.Can coordinate scale set font?

I have no idea what you mean. What is ā€œcoordinate scaleā€?

x,y value on axis

I think you need the major_label_text_font attribute.