One of the examples at Visualizing network graphs — Bokeh 2.4.2 Documentation 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.

