Option to compress numpy array in `hovertemplate` `customdata` for `px.imshow`
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 18.8k
- フォーク
- 2.8k
- 平均マージ
- 16時間 26分
- マージ済み PR(30日)
- 21
説明
Our application enables the generation of multiplexed images, where image regions show multiple "markers" in a tissue sample to demonstrate spatial patterns of marker co-occurrence.
We enable users to toggle a custom hovertemplate that shows the underlying raw array values for each marker before they are converted to RGB:
However, this becomes noticeably slower as the number of markers grows linearly; we pass the customdata template as a stacked numpy array paired with custom hovertext.
An option to compress this template array would help in increasing the speed and effectiveness of using customdata for our hovertemplate
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue ではファイルもテストも指定されていません。まず px.imshow と hovertemplate を使用した customdata の処理箇所を見つけ、次に既存の NumPy-array パスを特定してください。完了とするには、定義済みの圧縮オプション、保持される hover 値、合意されたパフォーマンスの根拠が必要ですが、現時点で issue にはそのいずれも指定されていません。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- numpy, python
- 領域
- data-visualization
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100