plotly / plotly/plotly.py

tickmode='sync' option is not working as expected

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

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

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

説明

I was trying to use the multi-axes functionality in Plotly with the tickmode='sync' option, but the result was not as I expected. The grid axes are not aligned at y = 0 and the ticks of the second y axis are not "nice" rounded numbers. I found out that this issue was already raised in the repository where the functionality was originally pulled from: https://github.com/VictorBezak/Plotly_Multi-Axes_Gridlines/issues/4. Unfortunately, it was never resolved and since it is incorporated in Plotly I think it would make more sense to raise the issue here. Hopefully, someone can help me out!

P.S.: I think issue https://github.com/plotly/plotly.py/issues/4351 is referring to the same problems, but it is not as nicely explained as the issue mentioned above.

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

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

はじめの一歩

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

調査の方向性

まず、tickmode='sync' を使用した複数軸のケースを再現し、リンクされている upstream issue および plotly.py issue #4351 と動作を比較します。グリッド軸が y = 0 で揃い、2 番目の y 軸が見やすく丸められた tick 値を使用すれば完了です。

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

評価

技術スタック
python
領域
data-visualization
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
活発
明瞭さ
説明が足りない
初心者へのやさしさ
42/100

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

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