bokeh.models.layouts
¶
Various kinds of layout components.
-
class
BaseBox
(*args, **kwargs)¶ Bases:
bokeh.models.layouts.Layout
Abstract base class for HBox and VBox. Do not use directly.
-
children
¶ property type: children:List(Instance(Component))
The list of children, which can be other components including layouts, widgets and plots.
-
-
class
HBox
(*args, **kwargs)¶ Bases:
bokeh.models.layouts.BaseBox
Lay out child components in a single horizontal row.
Children can be specified as positional arguments, as a single argument that is a sequence, or using the
children
keyword argument.
-
class
Layout
(**kwargs)¶ Bases:
bokeh.models.component.Component
An abstract base class for layout components.
Layout
is not generally useful to instantiate on its own.-
height
¶ property type: height:Int
An optional height for the component (in pixels).
-
width
¶ property type: width:Int
An optional width for the component (in pixels).
-
-
class
VBox
(*args, **kwargs)¶ Bases:
bokeh.models.layouts.BaseBox
Lay out child components in a single vertical row.
Children can be specified as positional arguments, as a single argument that is a sequence, or using the
children
keyword argument.
-
class
VBoxForm
(*args, **kwargs)¶ Bases:
bokeh.models.layouts.VBox
Basically, a VBox, where all components (generally form stuff) is wrapped in a <form> tag - important for bootstrap css