You would have to be running a considerably ancient version of Bokeh (0.13 or less) to explain that stack trace. If that is the case, the docs you are looking at are too new, since the ability to pass a dict was a feature added after the 1.0 release. Most of the graph interaction polices also probably don’t exist in 0.13 either (I would guess… it was almost half a decade ago). For reference, Bokeh 3.0 is due to be released soon.
In any case it’s important to refer to docs relevant to the actual release you have installed, especially the older the release is. FYI you can generally get to any version of docs, even if they are not explicitly listed in the dropdown at the top of the page: https://docs.bokeh.org/en/0.13.0/