plotly / plotly/angular-plotly.js

Min size of plotly plot

Offen
#201 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
TypeScript
Sterne
242
Forks
81
Ø Merge
8 Std. 48 Min.
Gemergte PRs (30 T.)
18

Beschreibung

Hi there,
there seems to be no possibility to make plotly-plots smaller than 200x200.
If I set width and height to e.g. 100, the plot collapses to one point.
I think there's no need to post MWE since this issue can be reproduced by just setting height and width in the layout of the main AP example.
On the other hand, if I set width and height to percentages instead of pixels, they are ignored

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

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 dem im Bericht erwähnten Hauptbeispiel für AP und der Handhabung des plotly-plot-Layouts. Reproduziere das Problem mit Abmessungen von 100x100 Pixeln und probiere anschließend prozentuale Breite und Höhe aus. Als erledigt gilt es, wenn Plots unter 200x200 gerendert werden und prozentuale Abmessungen berücksichtigt werden.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
plotly, typescript
Bereich
frontend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

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