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

Do not attach stream subscribers to batched ElementPlot #1301

Merged
merged 2 commits into from
Apr 17, 2017

Conversation

philippjfr
Copy link
Member

Batched plots create both an OverlayPlot and an ElementPlot instance which currently both attach themselves as stream subscribers, however the correct thing to do is for only the OverlayPlot to attach itself so that the batched plot is updated correctly.

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: component: plotting labels Apr 17, 2017
@jlstevens
Copy link
Contributor

Are there any unit tests that could make sure the correct things are attacked as subscribers when batched?

@philippjfr
Copy link
Member Author

Are there any unit tests that could make sure the correct things are attacked as subscribers when batched?

Sure I can add one.

@jlstevens
Copy link
Contributor

New unit test looks good. I'll merge once the tests go green.

@jlstevens
Copy link
Contributor

Tests are green. Merging.

@jlstevens jlstevens merged commit dd5d754 into master Apr 17, 2017
@philippjfr philippjfr deleted the attach_batched_streams branch April 19, 2017 21:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: component: plotting type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants