bokeh.models.layouts¶
Various kinds of layout components.
-
class
BaseBox(*args, **kwargs)¶ Bases:
bokeh.models.layouts.LayoutAbstract 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.BaseBoxLay 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
childrenkeyword argument.
-
class
Layout(**kwargs)¶ Bases:
bokeh.models.component.ComponentAn abstract base class for layout components.
Layoutis 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.BaseBoxLay 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
childrenkeyword argument.
-
class
VBoxForm(*args, **kwargs)¶ Bases:
bokeh.models.layouts.VBoxBasically, a VBox, where all components (generally form stuff) is wrapped in a <form> tag - important for bootstrap css