擅长:python、mysql、java
<p>我想出来了。你需要在“标题”前加上“字体大小”</p>
<pre><code>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', \
title_text_font_size='8pt')
bp.scatter(x_points, y_points)
bp.show()
</code></pre>