I am trying to add tabs to my bokeh figure and I am following the example code on the website. However, my code uses glyph to add to the figure and when I use that to add to a panel, I don’t see anything on the graph. Here is my code:
As I replied elsewhere, this is simply a bug with current versions of Bokeh. For now your only options are (again):
* don't use responsive sizing modes (i.e. "stretch_both") together with tabs
* don't use Bokeh layouts at all (e.g. use bokeh.embed.components to template Bokeh plots into your your own template with some outside, non-Bokeh tab widget)
I am trying to add tabs to my bokeh figure and I am following the example code on the website. However, my code uses glyph to add to the figure and when I use that to add to a panel, I don't see anything on the graph. Here is my code:
my_time = [1,2,3,4,5,6,7,8,9]
estimated_results = [1,2,3,4,5,6,7,8,9]
# arrange in data source
src = ColumnDataSource(data= {
'time': my_time,
'level': estimated_results,
})
Thanks for the quick response, will try out your suggestions.
···
On Wednesday, October 3, 2018 at 9:13:36 AM UTC-7, Bryan Van de ven wrote:
Hi,
As I replied elsewhere, this is simply a bug with current versions of Bokeh. For now your only options are (again):
don’t use responsive sizing modes (i.e. “stretch_both”) together with tabs
don’t use Bokeh layouts at all (e.g. use bokeh.embed.components to template Bokeh plots into your your own template with some outside, non-Bokeh tab widget)
I am trying to add tabs to my bokeh figure and I am following the example code on the website. However, my code uses glyph to add to the figure and when I use that to add to a panel, I don’t see anything on the graph. Here is my code: