bokeh.models
Interfacebokeh.models.annotations
bokeh.models.axes
bokeh.models.callbacks
bokeh.models.formatters
bokeh.models.glyphs
bokeh.models.grids
bokeh.models.map_plots
bokeh.models.mappers
bokeh.models.markers
bokeh.models.plots
bokeh.models.ranges
bokeh.models.renderers
bokeh.models.sources
bokeh.models.tickers
bokeh.models.tools
bokeh.models.widget
bokeh.models.widgets.buttons
bokeh.models.widgets.dialogs
bokeh.models.widgets.groups
bokeh.models.widgets.icons
bokeh.models.widgets.inputs
bokeh.models.widgets.layouts
bokeh.models.widgets.markups
bokeh.models.widgets.panels
bokeh.models.widgets.tables
bokeh.validation
Package
bokeh.plotting
Interfacebokeh.charts
Interface
< boxplot | back to Gallery | boxplot_chart >
from collections import OrderedDict
from bokeh._legacy_charts import Area, show, output_file
# create some example data
xyvalues = OrderedDict(
python=[2, 3, 7, 5, 26, 221, 44, 233, 254, 265, 266, 267, 120, 111],
pypy=[12, 33, 47, 15, 126, 121, 144, 233, 254, 225, 226, 267, 110, 130],
jython=[22, 43, 10, 25, 26, 101, 114, 203, 194, 215, 201, 227, 139, 160],
)
output_file(filename="area.html")
area = Area(
xyvalues, title="Responsive Area Chart",
xlabel='time', ylabel='memory',
stacked=True, legend="top_left",
responsive=True
)
show(area)