plotly / plotly/plotly.py

Long length word in table cell not visible

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

Dieses Issue hat noch niemand übernommen.

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

Beschreibung

If any cell of table contains large length value string, then that value is hidden and by not any means we can see that value.

import plotly.graph_objects as go
fig = go.Figure(data=[go.Table(......)])

Problem related to this issue already answered in Stackoverflow. But solution not seems to be perfect, it is workaround.

if you have to split a long word, you can of course use a html line break instead of space to get this.

So multiple solutions that I think, but none of this is working.

  1. If we can hover over cell, but it is not possible and is current issue. #5523
  2. If we can use auto column width feature to adjust column width but still it is not supported.
  3. If we can wrap the cell by some means (except changing its value by inserting separator like
    or space).

Regards,
Piyush

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 damit, das Problem mit dem gezeigten go.Figure- und go.Table-Beispiel zu reproduzieren, wobei eine Zelle einen langen Wert ohne Trennzeichen enthält. Prüfe das zugehörige Plotly.js-Issue #5523 und vergleiche die dort genannten Möglichkeiten für Hover, automatische Spaltenbreite und Umbruch. Als erledigt gilt die Aufgabe, wenn der vollständige Zellwert sichtbar ist, ohne den einzufügenden Wert durch das Ändern des Werts um Trennzeichen zu ergänzen.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

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