plotly / plotly/plotly.py

prevent scatter text overlap

Open
#925 2 comments 20 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P3
Dominant language
Python
Stars
18.8k
Forks
2.8k
Avg merge
16h 26m
Merged PRs (30d)
21

Description

It would be useful to have a setting to exclude text labels from being graphed if they would overlap with other labels.
newplot 13

For instance, ggplot2 in R has a check_overlap parameter - when true, it produces a graph like this:
hyp

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

Start by locating the scatter text-label handling in plotly.py and compare the requested behavior with ggplot2's check_overlap example. Done means a setting can exclude labels that would overlap other labels and the resulting scatter plot matches the requested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.