···
https://github.com/bokeh/bokeh/issues/3138 and I
should be working on it this week as part of the layout work - will be a couple of weeks before
the layout is ready
though.
FWIW I tweaked your code to the following and ran it
and I got both a list
and the tabs representation - very odd.
from
bokeh.plotting import figure, curdoc
from bokeh.models.widgets import Panel,
Tabs, TextInput
from bokeh.client import push_session
from bokeh.io import hplot
from bokeh.palettes import Spectral11
import numpy as np
x = np.linspace(-2*np.pi, 2*np.pi, 200)
colour_list = Spectral11 #[(51, 153, 51)
,(153, 51, 51), (51, 51, 153), (153,
51,153 ), (153, 51, 51)]
y = np.sin(x)
w = np.cos(x)
z = np.arcsin(x)
u = np.arccos(x)
v = np.arctan(x)
r = np.tan(x)
list_of_axis = [(y,w), (z, u), (v,r)]
tabs = []
for two in list_of_axis:
figure_obj = figure(plot_width = 1000,
plot_height = 800, title = “these are
waves”)
figure_obj.line(x, two[0], line_width
= 2, line_color = colour_list[3])
figure_obj.line(x, two[1], line_width
= 2, line_color = colour_list[1])
title = "two by two"
tabs.append(Panel(child=figure_obj,
title=title))
curdoc().add_root(Tabs(tabs=tabs))
On 1/29/16 10:05 AM, Robert wrote:
This pastebin shows a
script that replicates the problem
fredag 29. januar 2016 17.02.20 UTC+1 skrev Robert følgende:
Hi!
When creating a bokeh.models.widgets.Tabs element and
pushing it by bokeh.client.push_session onto a running
bokeh server it displays the plots in a “list” rather than
in tabs. Is this a known problem?
Thank you for any responses, and your patience
-Robert
–
You received this message because you are subscribed to the Google
Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails from it,
send an email to bokeh+unsubscribe@continuum.io.
To post to this group, send email to bokeh@continuum.io.
To view this discussion on the web visit [](https://groups.google.com/a/continuum.io/d/msgid/bokeh/27b4ab47-46c6-44f8-b116-5f0ba8384816%40continuum.io?utm_medium=email&utm_source=footer) .
For more options, visit .
–
Sarah Bird
Developer, Bokeh
[

](http://continuum.io)
https://groups.google.com/a/continuum.io/d/msgid/bokeh/27b4ab47-46c6-44f8-b116-5f0ba8384816%40continuum.io
https://groups.google.com/a/continuum.io/d/optout