plotly / plotly/plotly.py

[FEATURE]: Add dynamic sorting of the tooltip legend ordering for hovermode='x unified' mode

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

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

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

説明

Instructions (remove this section before submitting an issue)

Thanks for your interest in plotly.py!

  • Before submitting a new feature request, please search for existing and closed requests. If your request is novel, fill out the sections below and submit a new request.
  • Comments should add content to the discussions. Approbation comments such as +1 or I would like this feature to be implemented as well will be deleted by the maintainers. Please use GitHub reactions instead.
Description

Add a clear description of the feature that you're requesting.

Please add dynamic sorting of the tooltip legend ordering for hovermode='x unified' mode, so that when the user move the mouse over the chart, the legend showing up in the tooltip block reflects the ascending order of the legend value for that specific x value.

Why should this feature be added?

Provide an argument for why this feature should be added. We can't add everything, so this will help us determine what gets worked on. Please also consider creating a PR and adding the feature yourself. Help is always appreciated.

This will drastically improve the intuitiveness of the tooltip block information, making direct comparison between different trace at a certain x value much more easier.

Mocks/Designs

Please add any mocks or designs you might have for the feature.

Notes

Add info here that doesn't fit in the other sections.

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

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

はじめの一歩

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

調査の方向性

ファイル、テスト、エントリーポイントは指定されていません。まず hovermode='x unified' の実装とツールチップの凡例の並び順を見つけ、次に各 x 位置の値を動的に並べ替える方法を判断してください。ホバーした x 値について、ツールチップが凡例値の昇順を反映し、他のホバーモードを変更しなければ完了です。

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

評価

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

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

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