In legend, rotate arrows around their center instead of their extremity
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 18.8k
- Fork
- 2.8k
- Merge medio
- 16h 26m
- PR unite (30g)
- 21
Descrizione
When a plot includes several arrows with different angles, due to them being rotated around their extremity rather than their center (of mass for example), they can easily overlap in the legend. See example attached.
It would make more sense to me for all markers, including arrows, to be rotated around their center of mass in the legend rather than around their extremity.
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia riproducendo l’esempio di legenda allegato in plotly.py e identifica il punto di ingresso del rendering della legenda responsabile della rotazione dei marker a freccia. Confronta il posizionamento attuale basato sulle estremità con un posizionamento basato sul centro, quindi verifica che le frecce con angoli diversi non si sovrappongano più nella legenda.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- plotly, python
- Ambito
- data-visualization
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100