BokehJS + widgets

Hi,

A quick question - is it possible to use widgets with BokehJS in the same manner as the python API, or is it necessary to use another method with the pure JS version?

I don’t see any widgets in the BokehJS examples, and can’t figure out where they might live in the JS API.

Thanks!

Hi,

···

On Wed, Feb 15, 2017 at 4:21 PM, [email protected] wrote:

Hi,

A quick question - is it possible to use widgets with BokehJS in the same manner as the python API, or is it necessary to use another method with the pure JS version?

I don’t see any widgets in the BokehJS examples, and can’t figure out where they might live in the JS API.

both APIs should work the same, up to platform differences like how callbacks are specified etc. I don’t know if widgets actually work or not. It took some effort to provide the existing bokehjs API, because some of the code depended on the JSON serialization protocol and its side effects (e.g. delayed object initialization). Similar issues can pop up when using widgets. Can you start an issue requesting bokehjs API widget examples? I will add some to assert the API is complete.

Mateusz

Thanks!

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/859387be-b9a7-49bb-b325-600a8b94deeb%40continuum.io.

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

I have opened an Issue here.

I am unable to figure out how to add any kind of widget using the JS api, and I can’t find any reference to them under any of the namespaces. Do you have any idea?