One of the examples at https://docs.bokeh.org/en/latest/docs/user_guide/graph.html includes the following line of code:
from bokeh.plotting import figure, from_networkx
This generates the following error:
ImportError: cannot import name ‘from_networkx’
It appears the correct import command is:
from bokeh.models.graphs import from_networkx
Am I missing something or should the example be updated? Thanks for any help you can provide.