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

Add support for jupyter_bokeh ipywidget rendering #745

Merged
merged 5 commits into from
Nov 6, 2019

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Nov 6, 2019

This PR makes it possible to render panel objects using jupyter_bokeh ipywidget models. This can be enabled globally using:

pn.extension(comms='ipywidgets')
pn.config.comms = 'ipywidgets'
PANEL_COMMS = 'ipywidgets' (ENV VAR)

or you can get the ipywidget (e.g. to embed in a ipywidgets layout) using:

pn.ipywidget(panel_obj)

  • Finalize naming
  • Add to docs

@philippjfr philippjfr added the type: enhancement Minor feature or improvement to an existing feature label Nov 6, 2019
panel/viewable.py Outdated Show resolved Hide resolved
panel/viewable.py Outdated Show resolved Hide resolved
Copy link
Member

@jbednar jbednar left a comment

Choose a reason for hiding this comment

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

Looks good, but it seems like the new possibilities should be mentioned more prominently somewhere in the docs.

examples/user_guide/Deploy_and_Export.ipynb Outdated Show resolved Hide resolved
examples/user_guide/Deploy_and_Export.ipynb Outdated Show resolved Hide resolved
examples/user_guide/Deploy_and_Export.ipynb Outdated Show resolved Hide resolved
examples/user_guide/Deploy_and_Export.ipynb Outdated Show resolved Hide resolved
philippjfr and others added 2 commits November 6, 2019 14:29
Co-Authored-By: James A. Bednar <jbednar@users.noreply.github.com>
@philippjfr philippjfr merged commit d93415b into master Nov 6, 2019
@philippjfr philippjfr deleted the jupyter_bokeh_integration branch December 17, 2019 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement Minor feature or improvement to an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants