[BUG]: Weird behavior x-axis with log scale
オープン
まだ誰も着手していません。
bug
- 主要言語
- JavaScript
- スター
- 18.3k
- フォーク
- 2k
- 平均マージ
- 2日 12時間
- マージ済み PR(30日)
- 28
説明
Description
I have a scatter plot with 2 series, using layout.xaxis.type = 'log'.
I have two annotations, on which I applied log10 (cf. https://github.com/plotly/plotly.py/issues/2580).
One is properly showing, while the other one seems to misplace annotations and series.
I've noticed the following:
- Removing the annotations makes it work
- Removing 1 digit for precision for annotations makes it work. More generally, reducing precision makes it work, but I'm unsure if it's a matter of luck or something I can rely on.
Screenshots/Video
Please see codepens below.
Steps to reproduce
Notes
None
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、失敗する CodePen の例と動作する CodePen の例を実行し、それぞれのアノテーションの精度と対数 x 軸の設定を比較します。plotly.js が対数 x 軸上でアノテーションと系列をどのように配置するかを追跡し、2 つの例の違いに注目します。失敗する例が、精度を下げることに依存せず、アノテーションと系列の両方を正しく配置し、既存の動作する挙動が維持されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100