@@ -46,26 +46,38 @@ Then you can create a layout, for example with:
4646
4747.. code-block :: python
4848
49- v.Tabs(_metadata = {' mount_id' : ' content-main' }, children = [
50- v.Tab(children = [' Tab1' ]),
51- v.Tab(children = [' Tab2' ]),
52- v.TabItem(children = [
53- v.Layout(row = True , wrap = True , align_center = True , children = [
54- v.Flex(xs12 = True , lg6 = True , xl4 = True , children = [
55- fig, slider
56- ]),
57- v.Flex(xs12 = True , lg6 = True , xl4 = True , children = [
58- figHist2, sliderHist2
59- ]),
60- v.Flex(xs12 = True , xl4 = True , children = [
61- fig2
62- ]),
63- ])
64- ]),
65- v.TabItem(children = [
66- v.Container(children = [' Lorum ipsum' ])
67- ])
68- ])
49+ v.Tabs(
50+ _metadata = {" mount_id" : " content-main" },
51+ children = [
52+ v.Tab(children = [" Tab1" ]),
53+ v.Tab(children = [" Tab2" ]),
54+ v.TabItem(
55+ children = [
56+ v.Layout(
57+ row = True ,
58+ wrap = True ,
59+ align_center = True ,
60+ children = [
61+ v.Flex(
62+ xs12 = True ,
63+ lg6 = True ,
64+ xl4 = True ,
65+ children = [fig, slider],
66+ ),
67+ v.Flex(
68+ xs12 = True ,
69+ lg6 = True ,
70+ xl4 = True ,
71+ children = [figHist2, sliderHist2],
72+ ),
73+ v.Flex(xs12 = True , xl4 = True , children = [fig2]),
74+ ],
75+ )
76+ ]
77+ ),
78+ v.TabItem(children = [v.Container(children = [" Lorum ipsum" ])]),
79+ ],
80+ )
6981
7082 You can use :doc: `bqplot_vuetify_example ` with:
7183
@@ -124,9 +136,11 @@ kernel:
124136
125137 import os
126138
139+
127140 def kill_kernel (change ):
128141 os._exit(0 )
129142
143+
130144 button = widgets.Button(description = " Kill Kernel" )
131145 button.on_click(kill_kernel)
132146 button
0 commit comments