更改绘图区域外的 Bokeh 绘图颜色?

Change Bokeh plot color outside of the plot area?

我有一个嵌入到 HTML 页面的散景图。无论如何改变x和y轴标签文本所在的背景颜色?

我可以用 plot.background_fill_color 更改情节的背景,但似乎找不到 属性 的文本

Plot image

你想要plot.border_fill_color。这记录在这里:

https://docs.bokeh.org/en/latest/docs/user_guide/styling.html#border