plotly / plotly/plotly.js

[BUG]: period labels can be positioned incorrectly when using ticklabelindex with only one minor tick

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

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

bug P2 size: 3
主要言語
JavaScript
スター
18.3k
フォーク
2k
平均マージ
2日 12時間
マージ済み PR(30日)
28

説明

In this figure, the period label 2020 should be positioned below the scatter points of the year 2020 but it is centered between the major ticks:

Image

The correct image would contain a minor tick in the center and the 2020 label between the minor tick and the major tick.

Codepen: https://codepen.io/toffi-fee/pen/vEgeELa

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

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

はじめの一歩

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

調査の方向性

issue にリンクされた CodePen の再現例から始め、ticklabelindex を 1 つのマイナーティックだけで使用した場合の期間ラベルの挙動を調べます。レンダリングされた位置を、マイナーティックとメジャーティックの間の期待される配置と比較します。完了の条件は、その設定で 2020 のラベルが 2020 の散布点の下に表示されることです。

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

評価

技術スタック
javascript
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

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

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