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

Abierto
#7,924 3 comentarios 0 reacciones 1 asignado Ver en GitHub

@MannXo ya está trabajando en esto.

Desde el 28/7/2026.

Evaluación

Este issue todavía no se ha evaluado.

Descripción

enhancement feature good first issue good for agent P3 size: 3
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

Lenguaje dominante
JavaScript
Estrellas
18.3k
Forks
2k
Merge medio
2 d 12 h
PR fusionados (30 d)
28

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de plotly/plotly.js

Todos los issues de plotly/plotly.js

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.