Skip to content

Range selector buttons deletion #793

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

Merged
merged 3 commits into from
Jul 29, 2016
Merged

Range selector buttons deletion #793

merged 3 commits into from
Jul 29, 2016

Conversation

etpinard
Copy link
Contributor

fixes #777

N.B. This PR needs to #792 to pass the tests.

Very easily, this PR makes the range selector defaults skip over non-plain-object button items. So that:

Plotly.relayout(gd, 'xaxis.rangeselector.buttons[0]', 'remove');

is now functional.

etpinard added 2 commits July 28, 2016 14:11
- making relayout(gd, 'xaxis.rangeselector.buttons[i]', 'remove');
  clear to existing button
@etpinard etpinard added bug something broken status: reviewable labels Jul 29, 2016
@etpinard etpinard added this to the v1.16.0 milestone Jul 29, 2016
@VeraZab
Copy link

VeraZab commented Jul 29, 2016

💃 once tests pass :)

@etpinard etpinard merged commit a992b59 into master Jul 29, 2016
@etpinard etpinard deleted the rangeselector-buttons branch July 29, 2016 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot remove rangeselector buttons with a relayout call
2 participants