Skip to content

Reset axis does not elminate select box #257

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
ifll opened this issue Feb 16, 2016 · 2 comments
Closed

Reset axis does not elminate select box #257

ifll opened this issue Feb 16, 2016 · 2 comments

Comments

@ifll
Copy link

ifll commented Feb 16, 2016

When some points are selected from the plot with the cursor (either with "box select" or "lasso select") a box or contour is drawn around them.

This box disappears (as expected) under this procedures:

  • Zoom cursor is selected (from the modebar) and zoom is applied [box dissappears and points appear unselected again (no opacity appears on the points)]
  • Pan cursor is selected (from the modebar) and panning is applied [box dissappears and points appear unselected again (no opacity appears on the points)]
  • Box select cursor is selected (from the modebar) and box selection is applied [box dissappears from the previous position and appears in the new one]
  • lasso select cursor is selected (from the modebar) and lasso selection is applied [lasso selection dissappears from the previous position and appears in the new one]
  • Pan cursor is selected (from the modebar) and panning is applied [box dissappears and points appear unselected again (no opacity appears on the points)]

This box doesn't disappear (as not expected) under this procedures:

  • Zoom in button is pressed (from the modebar) [box does not dissappear from the previous position (but oppacity of the points is restored)]
  • Zoom out button is pressed (from the modebar) [box does not dissappear from the previous position (but oppacity of the points is restored)]
  • Autoscale button is pressed (from the modebar) [box does not dissappear from the previous position (but oppacity of the points is restored)]
  • Reset axes in button is pressed (from the modebar) [box does not dissappear from the previous position (but oppacity of the points is restored)]

The box shoud dissapear as it could lead to a bad missunderstanding about the points selected. I am using the latest release from plotly (downloaded on 16.02.2016) and google chrome version 48.0.2564.109 (64-bit). I haven't checked this bug for any other browser.

Besides this, when some points are selected, and a snapshot is taken, the selection done does not appear on the final snapshot image, and I think it would be great if it appears, as the used could download the image with the selection done, and he is always capable to download the image without the selection.

I would like to remind also the issue about the image size when downloading Snapshot routines should allow users to specify image width/height #83. I think it would be great if a solution can be found on this opened issue as the user could also choose the resolution of the final image.

@etpinard
Copy link
Contributor

Thanks for the very detailed issue.

The points you made are all known limitations of our first lasso/select box iteration.

Your points have some overlap with #181.

Refer to PR #154 for more info about the current implementation and more precisely #154 (comment) for what's in the plans.

@etpinard
Copy link
Contributor

etpinard commented Oct 5, 2017

Merging this thing into #1848

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

No branches or pull requests

2 participants