plotly / plotly/plotly.js

render histograms on log axes with bin edge at 0

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

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

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

説明

In this codepen, the first plot shows a basic histogram, although note that the leftmost bin edge is 0. The second plot just changes the x-axis type to log, which causes all the bars to disappear. The third plot shows that histograms on log axes can and do work, when there is not a bin edge at 0.

It would be nice if histograms reliably rendered on log axes, even with linearly computed bins like we have right now, because then folks could compute their own log bins and display plots. In some future iteration we could support automatic log bins, but let's just fix this one bug first? Would be good to make sure it's fixed for histogram2d etc as well if possible

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

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

はじめの一歩

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

調査の方向性

まず、リンクされた CodePen の 3 つのケースを再現します。ゼロにビンの境界があるヒストグラム、同じヒストグラムを対数 x 軸にしたもの、その境界がなく正常に動作する対数軸ヒストグラムです。ヒストグラムのレンダリング経路を追跡し、可能であれば histogram2d と比較します。既存の線形ビンを使って対数軸上でバーが安定してレンダリングされ、関連する 2D ケースも含まれることを完了条件とします。

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

評価

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

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

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