Paste python into bokeh javascript callback code

Is it possible to embed python code inside JavaScript bokeh code in a callback?

For example, I would like the following snippet to build a direct linear regression instead of a simple middle horizontal line using python scipy.stats.linregressrather than JavaScript Math or directly computing in JavaScript. Thanks in advance.

+4
source share

Source: https://habr.com/ru/post/1607825/


All Articles