plotly / plotly/plotly.py

Figure label auto-positioning

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

まだ誰も着手していません。

cs feature P1
主要言語
Python
スター
18.8k
フォーク
2.8k
平均マージ
16時間 26分
マージ済み PR(30日)
21

説明

This is a customer requested feature. In both R and MatPlotLib there are extensions which allow figure labels to auto-position for readability by preventing overlap. See gif below.

GIF Recording 2024-09-19 at 9 31 39 AM (1)

It is possible to acheive this effect in MatPlotLib and R

At least one customer has requested, and it's a feature which is not possible for a client to easily implement by themeselves. Current label positioning options are not dynamic in this way, and as a result we don't see a lot of client figures using labels, especially when there are more than a few points on the figure. Most clients default to hover, but that isn't viable for everyone, especially in settings where apps are being viewed on different devices. It's potentially also an accessibility improvement.

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

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

はじめの一歩

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

調査の方向性

この Issue では、ファイル、テスト、エントリポイントが指定されていません。まず、既存のラベル配置オプションと、参照されている adjustText および ggrepel の例を確認してください。図間の重なりを防ぎ、異なるデバイスでも引き続き使用できる動的なラベル配置を提供できれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
data-visualization
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
30/100

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

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