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

Handle document creation directly #1197

Merged
merged 1 commit into from Mar 12, 2017
Merged

Handle document creation directly #1197

merged 1 commit into from Mar 12, 2017

Conversation

philippjfr
Copy link
Member

In the latest bokeh dev builds the _ModelInDocument context manager was moved and changed. Rather than relying on it, we simply create a new Document per plot and detach the Document from all existing models.

@jlstevens
Copy link
Contributor

Seems fine to be explicit and I am assuming this has been tested with latest bokeh dev and previous versions.

Both versions access underscore attributes: doc_handler._doc in the old version and now m._document. On that basis we are still relying on internal bokeh API but this version should at least work with the next bokeh release.

Merging.

@jlstevens jlstevens merged commit 26d2072 into master Mar 12, 2017
@jbednar jbednar deleted the bokeh_renderer_0.12.5 branch March 12, 2017 15:27
@jbednar
Copy link
Member

jbednar commented Mar 12, 2017

Please file an issue on Bokeh asking that there be a defended API entry point to wrap anything we are relying on.

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.

None yet

3 participants