【发布时间】:2015-02-08 22:33:44
【问题描述】:
使用散景时如何设置图形的标题字体大小?
我试过(在 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 等。 所有这些信息在文档中的什么位置?
【问题讨论】: