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 execute flag to components #1700

Merged
merged 4 commits into from
May 18, 2017
Merged

Conversation

rreusser
Copy link
Contributor

This PR implements the second part of #1695 by adding an execute flag to sliders and updatemenus API calls. I had a bit of trouble getting a spy to work, so I omitted the end to end test at the moment. The full extent of the change is to simply sidestep the call to Plots.executeAPICommand, so it should have few effects except to skip the API call.

I have not yet tested whether everything works identically if the API call is moved into the event handler. Although that's the reason for this PR to exist, it's also a separate usage concern.

/cc @etpinard @alexcjohnson
#1695

@alexcjohnson
Copy link
Collaborator

If not a spy, do you want to just check that gd.data doesn't change with execute: false but then does change if you set it true?

@rreusser rreusser force-pushed the add-execute-flag-to-components branch from 90da8ac to 29fcace Compare May 18, 2017 13:01
@alexcjohnson
Copy link
Collaborator

Looks great, thanks for the test! 💃

@rreusser rreusser merged commit d12d417 into master May 18, 2017
@rreusser rreusser deleted the add-execute-flag-to-components branch May 18, 2017 13:39
@etpinard etpinard added this to the 1.28.0 milestone May 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants