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

Updated to latest pyviz_comms version #2977

Merged
merged 5 commits into from
Sep 3, 2018
Merged

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Sep 3, 2018

Various updates for use with pyviz_comms 0.1.2

  • Get classic notebook MIME renderer from pyviz_comms

  • Get embed_js code from pyviz_comms

  • Close comms on cleanup

  • Pin pyviz_comms 0.6.0 (once released)

@@ -237,6 +238,12 @@ def load_hvjs(cls, logo=False, bokeh_logo=False, mpl_logo=False, plotly_logo=Fal
widgetjs, widgetcss = Renderer.html_assets(extras=False, backends=[], script=True)
else:
widgetjs, widgetcss = '', ''

# Add classic notebook MIME renderer
Copy link
Contributor

@jlstevens jlstevens Sep 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do prefer to have a .js file in pyviz_comms but there is no reason pyviz_comms couldn't read in that file there and expose the string instead of having downstream projects repeat this code over and over. i.e something like from pyviz_comms import widget_js.

@jlstevens
Copy link
Contributor

A new version of pyviz_comms has been released and pinned. I think this PR is ready once the tests are green.

@jlstevens
Copy link
Contributor

Tests have passed. Merging.

@jlstevens jlstevens merged commit 04ee4e9 into master Sep 3, 2018
@philippjfr philippjfr deleted the pyviz_comms_cleanup branch November 12, 2018 18:01
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants