Hi Bokeh community,
When I tried to rerun the code in the link https://docs.bokeh.org/en/latest/docs/gallery/stacked_area.html ), I got the following error. I tested the code in a jupyter notebook. Can anyone help me fix this issue ?
-----
AttributeError Traceback (most recent call last)
in ()
14
15 names = [“y%d” % i for i in range(N)]
—> 16 p.varea_stack(stackers=names, x=‘index’, color=brewer[‘Spectral’][N], legend_label=names, source=df)
17
18 # reverse the legend entries to match the stacked order
AttributeError: 'Figure' object has no attribute 'varea_stack'
Thank you very much
! python --version
Python 3.7.0
bokeh version
‘0.13.0’
packages in environment at /home/user/anaconda3:
Name Version Build Channel
ipython 6.5.0 py37_0
ipython_genutils 0.2.0 py37_0