ItemTable#
Download this notebook from GitHub (right-click to download).
- Title
- ItemTable Element
- Dependencies
- Bokeh
- Backends
- Bokeh
- Matplotlib
- Plotly
import holoviews as hv
hv.extension('bokeh')
An ItemTable
is an ordered collection of key, value pairs. It can be used to directly visualize items in a tabular format where the items may be supplied as an OrderedDict
or a list of (key,value) pairs. A standard Python dictionary can be easily visualized using a call to the .items()
method, though the entries in such a dictionary are not kept in any particular order, and so you may wish to sort them before display. One typical usage for an ItemTable
is to list parameter values or measurements associated with an adjacent Element
.
itemtable = hv.ItemTable([('Age', 10), ('Weight',15), ('Height','0.8 meters')])
itemtable.opts(height=60)
For full documentation and the available style and plot options, use hv.help(hv.ItemTable).
Download this notebook from GitHub (right-click to download).