I am trying to run some code written by someone else, which contains the line
from bokeh.charts import Bar
When I run this in the Anaconda Prompt, I get the message "No module named 'bokeh.charts'".
I have installed bokeh 0.12.13, so the problem isn't that I haven't installed it. Indeed, other bokeh modules run fine.
I have noticed on the bokeh website that the 'charts' module says that it refers to a previous version (see https://docs.bokeh.org/en/0.12.4/docs/reference/charts.html).
Does the latest version not have bokeh.charts? If so, is there an alternative?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…