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

Splom zoom bug in doc example #3466

Closed
nicolaskruchten opened this issue Jan 23, 2019 · 7 comments
Closed

Splom zoom bug in doc example #3466

nicolaskruchten opened this issue Jan 23, 2019 · 7 comments
Assignees

Comments

@nicolaskruchten
Copy link
Member

Box-zooming on a splom doesn't give the expected output... I was zooming in on the blue but once it zoomed that subplot was empty.

https://codepen.io/plotly/pen/GdaBBo

splom

@etpinard
Copy link
Contributor

etpinard commented Jan 23, 2019

That's crazy. Thanks for the report!

Can you confirm that zooming works ok on: https://rreusser.github.io/plotly-mock-viewer/#splom_iris

@etpinard etpinard self-assigned this Jan 23, 2019
@nicolaskruchten
Copy link
Member Author

Yep that one works. Note that the pen starts out in drag select mode by default so maybe that’s part of the difference?

@nicolaskruchten
Copy link
Member Author

The pen behaves the same way on osx/chrome as it does on iOS/safari. Does the bug in the pen not replicate for you?

@nicolaskruchten
Copy link
Member Author

It looks like the range for sepal width is getting assigned to petal width also, look at the bottom ticks

@etpinard
Copy link
Contributor

Found it. All the axis attribute containers are linked to the same object (axis in the codepen). Making them different objects as in https://codepen.io/etpinard/pen/BMNmBV?editors=1010 seems to make things work.

@alexcjohnson
Copy link
Collaborator

+1 for immutable mode #2389

@nicolaskruchten nicolaskruchten changed the title Splom zoom bug Splom zoom bug in doc example Jan 24, 2019
@nicolaskruchten
Copy link
Member Author

Closing in favour of plotly/documentation#1246 which is where that Pen is from

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

No branches or pull requests

3 participants