simvue-io / simvue-io/python-api
Remove conversion of Matplotlib artifacts to Plotly objects for storage
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 4
- フォーク
- 1
- 平均マージ
- 5日 8時間
- マージ済み PR(30日)
- 4
説明
When a Matplotlib figure is stored as an artifact to the Simvue server, it is converted to a Plotly artifact and stored that way (I assume so that it can be viewed within the UI, which is very useful!). However when it is pulled back from the server using the client, the figure is returned as a Plotly object, instead of the Matplotlib figure originally stored. Can the figure be converted back to Matplotlib before being returned, so that the user gets back the same artifact which they stored?
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
保存されたアーティファクトを取得するクライアントパスから始め、Matplotlib の Figure がどのようにシリアライズおよび再構築されるかを追跡します。issue に記載されている既存の Matplotlib から Plotly への処理を確認し、ラウンドトリップの範囲を絞ったテストを追加します。Simvue に保存された Matplotlib の Figure が Matplotlib の Figure として返され、既存の Plotly アーティファクトの取得も引き続き機能すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- matplotlib, plotly, python
- 領域
- api, backend
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100