plotly / plotly/plotly.js

[FEATURE]: Setting `itemheight` (analogous to `itemwidth`) to increase height of fill in legend

Aperta
#7,924 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@MannXo ci sta già lavorando.

Dal 28/7/2026.

enhancement feature good first issue good for agent P3 size: 3
Lingua principale
JavaScript
Stelle
18.3k
Fork
2k
Merge medio
2g 12h
PR unite (30g)
28

Descrizione

Description

Please consider adding layout.legend.itemheight setting (similar to current layout.legend.itemwidth)

For plots with a fillpattern applied, it would be great if we could increased the height of the corresponding legend item so that more of the fill pattern was visible.

Why should this feature be added?

Currently, the fillpattern is only 6 pixels high (I think), but if we could make it higher then more of the pattern would be visible.

Mocks/Designs

The current legend item height:
Image

Setting the svg path to v12 shows more of the pattern fill and makes the regions more easily identifiable (my vertical alignment is off, but hopefully the concept is clear enough).
Image

Best regards

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.