plotly / plotly/plotly.py

Please add a way to specify the location of multiple bits of text using container coordinates

Offen
#3,084 13 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

feature P3
Vorherrschende Sprache
Python
Sterne
18.8k
Forks
2.8k
Ø Merge
16 Std. 26 Min.
Gemergte PRs (30 T.)
21

Beschreibung

I have an application where I need to put one text string (the Y-axis label) in the top left corner and a second text string containing source information in the bottom left corner. Placing text at the left edge of the graph seems to require specifying container X-coordinate 0. Title obviously supports creating one such label in container coordinates, but only appears to support one piece of text. https://plotly.com/python/reference/layout/ add_annotation supports multiple pieces of text, but does not appear to support container coordinates. https://plotly.com/python/text-and-annotations/#positioning-text-annotations-absolutely

Please offer one tool that supports both multiple strings and container coordinates if it is not already possible to do so. If it is possible, please clarify the documentation. If this is a good Plotly codebase contribution 0 for a data scientist, let me know -- I can attempt it.

Thanks!

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der verlinkten Layout-Referenz und der Dokumentation zur Positionierung von add_annotation und vergleiche die Unterstützung für mehrere Textzeichenfolgen und Containerkoordinaten. Als abgeschlossen gilt entweder die Dokumentation eines bestehenden Workflows, der beide Anforderungen erfüllt, oder die Definition und Implementierung einer unterstützten Möglichkeit, sie zu kombinieren, wobei das Verhalten durch die Tests des Projekts verifiziert wird.

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

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.