Plotly.js: Splom zoom bug in doc example

Created on 23 Jan 2019  路  7Comments  路  Source: plotly/plotly.js

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

bug

Most helpful comment

+1 for immutable mode #2389

All 7 comments

That's crazy. Thanks for the report!

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

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

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?

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

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.

+1 for immutable mode #2389

Closing in favour of https://github.com/plotly/documentation/issues/1246 which is where that Pen is from

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maxwell8888 picture maxwell8888  路  3Comments

chriddyp picture chriddyp  路  3Comments

n-riesco picture n-riesco  路  3Comments

bryaan picture bryaan  路  3Comments

emanuelsetitinger picture emanuelsetitinger  路  3Comments