如何为页面生成标题?
How to generate a title for the page?
如何为散景生成的页面输出标题,类似于 shiny's titlePanel 提供的功能?
titlePanel(title, windowTitle = title)
这是显示标题的闪亮屏幕截图"Movie explorer":
我看过这个other question asking how to output generic text, but I'm specifically asking about generating a page title which I'm hoping there is a widget to help with that although I couldn't see anything in the bokeh reference docs。
根据 Alexander's comment, there is a Div widget that can be used to output HTML. See https://github.com/bokeh/bokeh/blob/master/examples/app/movies/main.py。我将其添加为答案以便关闭问题。
如何为散景生成的页面输出标题,类似于 shiny's titlePanel 提供的功能?
titlePanel(title, windowTitle = title)
这是显示标题的闪亮屏幕截图"Movie explorer":
我看过这个other question asking how to output generic text, but I'm specifically asking about generating a page title which I'm hoping there is a widget to help with that although I couldn't see anything in the bokeh reference docs。
根据 Alexander's comment, there is a Div widget that can be used to output HTML. See https://github.com/bokeh/bokeh/blob/master/examples/app/movies/main.py。我将其添加为答案以便关闭问题。