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

Scattergl tonext case #2284

Closed
dy opened this issue Jan 23, 2018 · 1 comment
Closed

Scattergl tonext case #2284

dy opened this issue Jan 23, 2018 · 1 comment
Labels
feature something new

Comments

@dy
Copy link
Contributor

dy commented Jan 23, 2018

Followed by #2280 - this test case should work with scattergl:

var trace0 = {y: [1, 3, 5, 7], type: 'scattergl'};
var trace1 = {y: [1, 2, 3, 4], type: 'scattergl', line: {width: 0}, mode: 'lines'};
var trace2 = {y: [3, 4, 5, 6], type: 'scattergl', fill: 'tonexty', mode: 'none'};

Plotly.newPlot(gd, [trace0, trace1, trace2], {}, {scrollZoom: true})
.then(function() {
    return Plotly.restyle(gd, {y: [[null, null, null, null]]}, [1]);
})
.then(function() {
    return Plotly.restyle(gd, {y: [[1, 2, 3, 4]]}, [1]);
})
.then(function() {
    return Plotly.restyle(gd, {y: [[null, null, null, null]]}, [2]);
})
.then(function() {
    return Plotly.restyle(gd, {y: [[1, 2, 3, 4]]}, [2]);
})
.then(function() {
    return Plotly.restyle(gd, {y: [[null, null, null, null], [null, null, null, null]]}, [1, 2]);
})
.catch(fail)
.then(done);
@gvwilson
Copy link
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature something new
Projects
None yet
Development

No branches or pull requests

3 participants