fig2plotly does not handle timeseries plots
まだ誰も着手していません。
- 主要言語
- MATLAB
- スター
- 413
- フォーク
- 166
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
fig2plotly fails completely if I provide it with a timeseries plot that has datetimes on as the x-axis.
Here's an example with a tscollection mydata, where mydata.Time is double data that is posix time (seconds since epoch), and the mydata.TimeInfo.StartDate is '01-Jan-1970 00:00:00.000'.
fig = figure; plot(myData.accelmeterZ_mps2)

fig2plotly(fig);
Error using response_handler (line 31)
Hm... Plotly had some trouble decoding your 'args'. Are you sure your data or styling object is in the right format? Check out
the examples at plot.ly/api for guidance.
However, if I just plot the underlying data, it works just fine:
fig2 = figure; plot(myData.Time, myData.accelmeterZ_mps2.Data);

fig2plotly(fig2);
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、fig2plotly(fig) を使って tscollection の例で失敗を再現し、次に myData.Time と myData.accelmeterZ_mps2.Data の正常に動作するプロットと比較します。31 行目の response_handler エラー付近で、datetime または timeseries のプロットデータの処理を調査します。timeseries の figure が Plotly のデコードエラーなしで正常にエクスポートできれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- matlab
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100