Standalone Flask App With Bokeh Input Widgets

Hello, I am new to Bokeh. I tried some basic examples which were static plots in Bokeh. I am a Geophysicist and I mainly use Matplotlib at Desktop . I want to use Flask and Bokeh. I tried Sliders.py which uses Bokeh server. I could not find any examples on the web which shows basic example with input widgets like slider for standalone flask app. I could not find a book which shows such examples. I just want to change Frequency or Amplitude of a Sine wave with a slider on flask.

Thank you

Burak

Hi Burak,

Without the server you will have to use CustomJS callbacks (i.e., can't rely on python to do any of the updating). There are several examples of this under the Adding Interactions section of the User's Guide:

  http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#javascript-callbacks

Thanks,

Bryan

···

On Apr 20, 2016, at 11:21 AM, Burak nebioğlu <[email protected]> wrote:

Hello, I am new to Bokeh. I tried some basic examples which were static plots in Bokeh. I am a Geophysicist and I mainly use Matplotlib at Desktop . I want to use Flask and Bokeh. I tried Sliders.py which uses Bokeh server. I could not find any examples on the web which shows basic example with input widgets like slider for standalone flask app. I could not find a book which shows such examples. I just want to change Frequency or Amplitude of a Sine wave with a slider on flask.

Thank you

Burak

--
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/0b154f54-eea8-4d88-ac25-70d93cd0ac92%40continuum.io\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.

Thank you Bryan

20 Nis 2016 ÖS 7:26 tarihinde “Bryan Van de Ven” [email protected] yazdı:

···

Hi Burak,

Without the server you will have to use CustomJS callbacks (i.e., can’t rely on python to do any of the updating). There are several examples of this under the Adding Interactions section of the User’s Guide:

    [http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#javascript-callbacks](http://bokeh.pydata.org/en/latest/docs/user_guide/interaction.html#javascript-callbacks)

Thanks,

Bryan

On Apr 20, 2016, at 11:21 AM, Burak nebioğlu [email protected] wrote:

Hello, I am new to Bokeh. I tried some basic examples which were static plots in Bokeh. I am a Geophysicist and I mainly use Matplotlib at Desktop . I want to use Flask and Bokeh. I tried Sliders.py which uses Bokeh server. I could not find any examples on the web which shows basic example with input widgets like slider for standalone flask app. I could not find a book which shows such examples. I just want to change Frequency or Amplitude of a Sine wave with a slider on flask.

Thank you

Burak

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/0b154f54-eea8-4d88-ac25-70d93cd0ac92%40continuum.io.

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

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/88DE0D77-FFD1-47BA-90BB-DD898DEB5029%40continuum.io.

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