add label alignment in nodes in Sankey plot
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
Dear devs,
Recently, I have been playing around with Sankey plots in plotly. This tool is really great. I have been looking for a specific feature that I couldn't find in the API and in fact I believe it does not exist, yet.
Would it be possible to specifiy the alignment of the labels in the nodes of a sankey plot?
Specifically in vertical orientation, I believe the nodes would look much prettier, if the label may be horizontally aligned with the box.
I would imagine additional keywords for the node-dictionary like "horizontalalignment" and "verticalalignment".
(As it is the case for matplotlib textboxes :
https://matplotlib.org/3.1.1/tutorials/text/text_props.html)
Possibly, this is actually easily implemented, but I could not really figure out, how to do that myself.
Is it possible to add this feature?
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 betrifft das Hinzufügen der horizontalen und vertikalen Ausrichtung von Sankey-Knotenbeschriftungen, nennt jedoch keine Quelldateien, Tests oder Einstiegspunkte. Beginne damit, die Sankey-Knoten-API zu finden und die verlinkte Matplotlib-Referenz zu Texteigenschaften zu prüfen; fertig bedeutet, dass die Ausrichtungsoptionen für vertikal ausgerichtete Sankey-Diagramme unterstützt und dokumentiert sind.
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
- 35/100