plotly / plotly/plotly.js

[FEATURE] Add config option to disable behavior where rectangular zoom selection becomes full height selection if mouse Δy is close to 0

Open
#6,588 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug P3
Dominant language
JavaScript
Stars
18.3k
Forks
2k
Avg merge
2d 12h
Merged PRs (30d)
28

Description

Hi,

There is a feature that makes that a rectagular selection on a heatmap becomes a "full height selection" if the mouse Δy is close to 0 (I mean vertical distance between start point and end point).

Is there a setting to turn this feature off? I didn't find it in the documentation.

Example here I wanted to select a rectangle of height 2 pixels, but it moved into a full height selection:

image

Thanks!

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file or test is named in the issue. Start by tracing the heatmap rectangular zoom-selection behavior and its configuration options, then check how related settings are documented. Done means a configuration option can disable the near-zero mouse Δy conversion while preserving the existing behavior by default, with coverage for both modes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.