Feature request: Support for plotting `pint` scalars
オープン
まだ誰も着手していません。
feature
P3
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
I love the figures generated with plotly. I want to use it as the backend for a Pandas dataframe that has units of measurement using (Pint). Unfortunately, these plots fail with the error:
AttributeError: 'float' object has no attribute 'tolist'
It seems that the issue is that Plotly is not recognizing Pint scalars as scalars. A MWE example is given on the following pint-pandas issue.
Thanks.
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
pint-pandas issue #249 にリンクされている MWE から始め、Plotly Pandas dataframe backend を通じて報告された AttributeError を再現します。プロット中に Pint scalars がどのように認識されるかを追跡し、続いて、単位付きデータに対して MWE がエラーなしで figures を生成することを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- pandas, python
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100