当使用bokeh时,我如何设置图形的标题字体大小?
我在ipython笔记本中尝试了以下方法:
import bokeh.plotting as bp
import numpy as np
bp.output_notebook()
x_points = np.random.rand(100)
y_points = np.random.rand(100)
bp.figure(title='My Title', x_axis_label='X axis', y_axis_label='Y axis', \
text_font_size='8pt')
bp.scatter(x_points, y_points)
bp.show()
我尝试过text_font_size,label_text_font,title_font_size等。文档中有关于这些信息的位置在哪里?
bokeh
要求字体大小必须带有pt
单位? - O.rka