Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use latest bokeh version #757

Merged
merged 1 commit into from
Nov 12, 2020
Merged

Use latest bokeh version #757

merged 1 commit into from
Nov 12, 2020

Conversation

anamileva
Copy link
Member

@anamileva anamileva commented Nov 12, 2020

We don't use CustomJS.from_py_func anymore so can use the latest bokeh version.

Note that the Python Bokeh and BokehJS versions need to match and they are currently both set to the latest. We therefore now switch from https://www.npmjs.com/package/bokehjs to https://www.npmjs.com/package/@bokeh/bokehjs.

Note that a simple import embed from "@bokeh/bokehjs"; or import * as Bokeh from "@bokeh/bokehjs"; did not work, resulting in errors when building the Angular app. I found this workaround import * as Bokeh from '@bokeh/bokehjs/build/js/lib/embed'; here.

Also note that bokeh v2.0 requires Python 3.6 as mentioned in #133, so this effectively makes Python 3.6 a requirement for GridPath. [The Windows UI issue that required Python 3.5 or lower if using the Anaconda Python distribution has been resolved, but is yet to be documented: to get the UI to working with Python 3.6+ on Windows, we also need to add an environment variable to the PATH pointing to the Anaconda Library\bin directory (for me that's C:\ProgramData\Anaconda3\Library\bin)].

@anamileva anamileva merged commit dacd5c8 into develop Nov 12, 2020
@anamileva anamileva mentioned this pull request Nov 12, 2020
@anamileva anamileva deleted the update_bokeh_version branch March 17, 2021 18:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant