Interacting with plot using bokeh Slider widget

The following code which was part of a very good introduction to bokeh workshop

-renders the plot but the Slider widget does notinteract with the graph

I’m using

bokeh version 0.12.5

This is also the case for version 0.12.16

This is not limited to the code I’ve attached as a txt file but can also be observed if you run the Slider widget code on this example: https://bokeh.pydata.org/en/latest/docs/gallery/slider.html

Is anyone familiar with what might be causing this behaviour?

gapminder.txt (1.71 KB)

The code you are linking is a Bokeh server application. Are you running it with

  bokeh serve --show app

instead of

  python app.py

? It has to be run with the "bokeh" server command, not as a plain python script.

Thanks,

Bryan

···

On Jun 18, 2018, at 10:35, chuks <[email protected]> wrote:

The following code which was part of a very good introduction to bokeh workshop
https://www.youtube.com/watch?v=9FlUFLmaWvY

-renders the plot but the Slider widget does notinteract with the graph

I'm using
bokeh version 0.12.5

This is also the case for version 0.12.16

This is not limited to the code I've attached as a txt file but can also be observed if you run the Slider widget code on this example: https://bokeh.pydata.org/en/latest/docs/gallery/slider.html

Is anyone familiar with what might be causing this behaviour?

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/419b1d14-525c-4ca3-ad7f-ab74027e9d53%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
<gapminder.txt>

Hi Brian,

Yes I’m running it with the bokeh command as follows:

bokeh serve gapminder.py --allow-websocket-origin=xx.xxx.x.xx:5006

The page is being served normally so I don’t have an issue there - the issue I’m having is with the widget. Any idea why this is causing an issue - if you get the gapminder.csv file on line and run the code with the bokeh command from you’ll observe what I’m saying

···

On Monday, June 18, 2018 at 7:46:36 PM UTC+1, Bryan Van de ven wrote:

The code you are linking is a Bokeh server application. Are you running it with

    bokeh serve --show app

instead of

    python app.py

? It has to be run with the “bokeh” server command, not as a plain python script.

Thanks,

Bryan

On Jun 18, 2018, at 10:35, chuks [email protected] wrote:

The following code which was part of a very good introduction to bokeh workshop
https://www.youtube.com/watch?v=9FlUFLmaWvY

-renders the plot but the Slider widget does notinteract with the graph

I’m using

bokeh version 0.12.5

This is also the case for version 0.12.16

This is not limited to the code I’ve attached as a txt file but can also be observed if you run the Slider widget code on this example: https://bokeh.pydata.org/en/latest/docs/gallery/slider.html

Is anyone familiar with what might be causing this behaviour?


You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/419b1d14-525c-4ca3-ad7f-ab74027e9d53%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

<gapminder.txt>