Q:

How to send list of figures into Bokeh vplot()

I'm building up a list of plots programatically in a Python list and I'd like to throw it at the vplot function instead of the grid I'm currently using. The documentation has the explicit enumeration of the children but I'm wondering if I can take a list of figure objects and receive them into vplot somehow much like how is done for the grid object.
channelPlots = []

for channel in myChannels :
    channelPlot = figure( width=1000, height=1000 , title=channel+ " Time Series" , x_axis_label = channel , y_axis_label = "TIME" )
    y           = sample.data['TIME' ]
    x           = sample.data[channel]
    channelPlot.scatter(x,y)
    channelPlots.append(channelPlot)

# With a grid it works  
#grid = GridPlot(children=[channelPlots], title="Time Series Channel Plots")

# with a vplot it breaks
grid = vplot( channelPlots )
save(grid)

Exception error is: expected an element of List(Instance(Widget)), got [[<bokeh.plotting.Figure object at 0x0000000009AA2128>, <bokeh.plotting.Figure object at 0x0000000006778CF8>, <bokeh.plotting.Figure object at 0
x0000000011894C50>, <bokeh.plotting.Figure object at 0x00000000118DE390>, <bokeh.plotting.Figure object at 0x00000000118DEF98>, <bokeh.plotting.Figure object at 0x00000000118F2668>, <bokeh.plotting.Figure object at
0x00000000118EE7B8>, <bokeh.plotting.Figure object at 0x00000000118EE630>]]

and attempting both of these below threw the same exception...
grid = vplot(children=channelPlots)
grid = vplot(children=[channelPlots])
Exception error is: Viewable object got multiple values for keyword argument 'children'

A:

You either need to pass the list explicitly as the children parameter:
grid = vplot(children=channelPlots)

Or alternatively, vplot accepts the children as *args:
grid = vplot(*channelPlots)

