simvue-io / simvue-io/python-api

Remove conversion of Matplotlib artifacts to Plotly objects for storage

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

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

enhancement
主要言語
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?

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

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

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. 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

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

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