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

Avoid updating data source if element data is unchanged #828

Merged
merged 1 commit into from
Aug 23, 2016

Conversation

philippjfr
Copy link
Member

Instead of checking whether the Element has changed it now checks whether the element data attribute has changed, when deciding whether to send the data source data to bokeh plot.

@jlstevens
Copy link
Contributor

Looks good and the tests are passing. I'll merge now.

The only thing to mention is why this change was needed: DynamicMaps use __call__ to propagate style information on the fly. This changes the id of the returned elements which is why the original approach was flawed. Using the id of the .data should be more robust.

@jlstevens jlstevens merged commit 994fb2e into master Aug 23, 2016
@philippjfr philippjfr deleted the dynamic_data_opt branch September 2, 2016 00:57
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 26, 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