Figure label auto-positioning
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- Python
- Sterne
- 18.8k
- Forks
- 2.8k
- Ø Merge
- 16 Std. 26 Min.
- Gemergte PRs (30 T.)
- 21
Beschreibung
This is a customer requested feature. In both R and MatPlotLib there are extensions which allow figure labels to auto-position for readability by preventing overlap. See gif below.
It is possible to acheive this effect in MatPlotLib and R
At least one customer has requested, and it's a feature which is not possible for a client to easily implement by themeselves. Current label positioning options are not dynamic in this way, and as a result we don't see a lot of client figures using labels, especially when there are more than a few points on the figure. Most clients default to hover, but that isn't viable for everyone, especially in settings where apps are being viewed on different devices. It's potentially also an accessibility improvement.
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Das Issue nennt keine Dateien, Tests oder Einstiegspunkte. Beginne damit, die vorhandenen Optionen zur Positionierung von Labels sowie die referenzierten Beispiele zu adjustText und ggrepel zu prüfen. Die Arbeit ist abgeschlossen, wenn eine dynamische Label-Platzierung bereitgestellt wird, die Überlappungen über Abbildungen hinweg verhindert und auf verschiedenen Geräten nutzbar bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 5/5
- Geschätzter Aufwand
- Über eine Woche
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 30/100