Skip to content

updatemenus: fix wrong header update #1171

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

Closed
wants to merge 1 commit into from

Conversation

n-riesco
Copy link
Contributor

  • Note that the click handler already updates the header and invokes
    Plots.executeAPICommand.

Fixes #1169

* Note that the click handler already updates the header and invokes
  `Plots.executeAPICommand`.

Fixes plotly#1169
@n-riesco n-riesco closed this Nov 19, 2016
@n-riesco
Copy link
Contributor Author

@rreusser

I've tracked this issue down to plots/command.js:bindingValueHasChange (the algorithm to detect changes in gd._fullData only checks the first trace).

This issue could be worked around in Menuupdates.draw, but, unless there is a reason not to, I think that making plots/command.js:bindingValueHasChange more accurate is a better solution.

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.

1 participant