plotly / plotly/plotly.js

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

オープン
#7,924 コメント 3 件 リアクション 0 件 担当者 1 名 GitHub で見る

@MannXo がすでに取り組んでいます。

2026年7月28日 から。

enhancement feature good first issue good for agent P3 size: 3
主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 12時間
マージ済み PR(30日)
28

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。