☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

EasyUI Bokeh conflict

Community Support
Julien_Cochennec
Julien_Cochennec

Hi, I’ve used the embedding bokeh example and I get a wonderful chart on my single page ajax easyUI based application.

My app is a Flask application with a lot of javascript, mainly jquery and jquery easyUI.
Though there’s something strange, when I add this to my main template :

{{ plotResources|indent(4)|safe}}

This code brings bokeh.min.css, bokeh.min.js in my web page, but 2 trees in my app stop working, saying that $(…).tree( is not a function. This function is a jquery plugin added by easyUI.

How is Bokeh code altering this? The only code that bokeh brought is bokeh.min.css, bokeh.min.js

⌁   Link to post
Mateusz_Paprocki
Mateusz_Paprocki

Hi,

···

On Tue, Jun 30, 2015 at 9:14 AM, trblft@gmail.com wrote:

Hi, I’ve used the embedding bokeh example and I get a wonderful chart on my single page ajax easyUI based application.

My app is a Flask application with a lot of javascript, mainly jquery and jquery easyUI.
Though there’s something strange, when I add this to my main template :

{{ plotResources|indent(4)|safe}}

This code brings bokeh.min.css, bokeh.min.js in my web page, but 2 trees in my app stop working, saying that $(…).tree( is not a function. This function is a jquery plugin added by easyUI.

How is Bokeh code altering this? The only code that bokeh brought is bokeh.min.css, bokeh.min.js

this is because bokeh.js pulls in jquery improperly (this used to work and was broken recently). This should be fixed for the upcoming release. You can track progress in https://github.com/bokeh/bokeh/pull/2437.

Mateusz

–

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 bokeh+unsubscribe@continuum.io.

To post to this group, send email to bokeh@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/2704f4a1-02ba-4e6b-b469-a621424a0df0%40continuum.io.

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

⌁   Link to post
Julien_Cochennec
Julien_Cochennec

All right, thanks a lot, it saves my day and I’m glad I will only need a little patience.
I found Bokeh relies on very good stuff I also use in every new project, like Jquery, Backbone, Flask…
Thinking of getting involved :-).
Have a nice day.

···

Le mardi 30 juin 2015 11:35:43 UTC+2, mateusz.paprocki a écrit :

Hi,

On Tue, Jun 30, 2015 at 9:14 AM, trb...@gmail.com wrote:

Hi, I’ve used the embedding bokeh example and I get a wonderful chart on my single page ajax easyUI based application.

My app is a Flask application with a lot of javascript, mainly jquery and jquery easyUI.
Though there’s something strange, when I add this to my main template :

{{ plotResources|indent(4)|safe}}

This code brings bokeh.min.css, bokeh.min.js in my web page, but 2 trees in my app stop working, saying that $(…).tree( is not a function. This function is a jquery plugin added by easyUI.

How is Bokeh code altering this? The only code that bokeh brought is bokeh.min.css, bokeh.min.js

this is because bokeh.js pulls in jquery improperly (this used to work and was broken recently). This should be fixed for the upcoming release. You can track progress in https://github.com/bokeh/bokeh/pull/2437.

Mateusz

–

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 bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/2704f4a1-02ba-4e6b-b469-a621424a0df0%40continuum.io.

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

⌁   Link to post
FANG_Colin
FANG_Colin

My current workaround is to put on top of everything, i.e. load afterwards.

···

On Tuesday, June 30, 2015 at 11:55:07 AM UTC+1, Julien Cochennec wrote:

All right, thanks a lot, it saves my day and I’m glad I will only need a little patience.
I found Bokeh relies on very good stuff I also use in every new project, like Jquery, Backbone, Flask…
Thinking of getting involved :-).
Have a nice day.

Le mardi 30 juin 2015 11:35:43 UTC+2, mateusz.paprocki a écrit :

Hi,

On Tue, Jun 30, 2015 at 9:14 AM, trb...@gmail.com wrote:

Hi, I’ve used the embedding bokeh example and I get a wonderful chart on my single page ajax easyUI based application.

My app is a Flask application with a lot of javascript, mainly jquery and jquery easyUI.
Though there’s something strange, when I add this to my main template :

{{ plotResources|indent(4)|safe}}

This code brings bokeh.min.css, bokeh.min.js in my web page, but 2 trees in my app stop working, saying that $(…).tree( is not a function. This function is a jquery plugin added by easyUI.

How is Bokeh code altering this? The only code that bokeh brought is bokeh.min.css, bokeh.min.js

this is because bokeh.js pulls in jquery improperly (this used to work and was broken recently). This should be fixed for the upcoming release. You can track progress in https://github.com/bokeh/bokeh/pull/2437.

Mateusz

–

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 bokeh+un...@continuum.io.

To post to this group, send email to bo...@continuum.io.

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/2704f4a1-02ba-4e6b-b469-a621424a0df0%40continuum.io.

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

⌁   Link to post

End of archived discussion · Replies are disabled