T
BokehHomebkchartssuccessionHoloViewsHomeHoloViewsHomeBokehYou can draw a graph with a concise description as a backend.HoloViewsThe following is a link to the document and sample of the face graph:ation: http://holoviews.org/reference/elements/bokeh/Area.html Sample: http://holoviews.org/gallery/demos/bokeh/area_chart.html The sample code is when Bokeh 0.12 is in the question,bokeh.charts.AreaIt is the same graph as .import numpy as np
import holoviews as hv
hv.extension('bokeh')
create some example data
python=np.array([2, 3, 7, 5, 26, 221, 44, 233, 254, 265, 266, 267, 120, 111])
pypy=np.array([12, 33, 47, 15, 126, 121, 144, 233, 254, 225, 226, 267, 110, 130])
jython=np.array([22, 43, 10, 25, 26, 101, 114, 203, 194, 215, 201, 227, 139, 160])
dims = dict(kdims='time', vdims='memory')
python = hv.Area(python, label='python', **dims)
pypy = hv.Area(pypy, label='pypy', **dims)
jython = hv.Area(jython, label='jython', **dims)
overlay = (python * pypy * jython).options('Area', fill_alpha=0.5)
overlay.relabel("Area Chart") + hv.Area.stack(overlay).relabel("Stacked Area Chart")
Plot+HomeThere is a+is an operator that aligns the graph,is an operator that stacks graphs.HoloViewsHome+Home*By the operators, you can easily sort and overlap graphs.