RohitG
RohitG

Reputation: 45

bokeh 0.8.2 - None of the bokeh-server glyph examples rendering the plot

I have Python 3.4.3 |Anaconda 2.1.0 (64-bit) on linux and bokeh 0.8.2. None of the bokeh-server examples in

https://github.com/bokeh/bokeh/tree/master/examples/glyphs

are rendering the plot. I can see the widgets and interact with them, but no plot is rendered. The Javascript console says:

Bokeh: could not set initial ranges

I tried with multiple browsers (Chrome, IE and Firefox) with no success. Anyone has a solution to this?

Upvotes: 0

Views: 727

Answers (2)

bigreddot
bigreddot

Reputation: 34568

OK, after 0.8.2 a change was made that simplified "auto ranging" significantly. However, older versions of Bokeh are not forward-compatible with this change. You need to run the version of the example that came out with the release:

https://github.com/bokeh/bokeh/blob/0.8.2/examples/glyphs/data_tables_server.py

Alternatively you can install a newer version of Bokeh (0.9 or newer).

Upvotes: 1

Pythonic
Pythonic

Reputation: 2131

I had the same problem, and solved by clearing the browser's cache, as per this post on Bokeh's discussion group:

https://groups.google.com/a/continuum.io/forum/#!msg/bokeh/4ipIS0lariw/qmWzVSKHCAAJ

Upvotes: 1

Related Questions