getplotlyfig() Error
オープン
まだ誰も着手していません。
- 主要言語
- MATLAB
- スター
- 413
- フォーク
- 166
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Hi. I am using the latest Plotly MATLAB release (2.2.5). I am trying to retrieve a figure from my account, using getplotlyfig('userXYZ','80'). I am passing the number of the figure as a string (as shown in the user guide examples). Uploading new plotly graphs works as expected, however, when trying to retrieve graphs I am receiving the following error:
> Reference to non-existent field 'Content_Type'.
> Error in response_handler (line 6)
> if (strcmp(extras.allHeaders.Content_Type, 'image/jpeg') || ...
> Error in plotlygetfile (line 26)
> response_handler(response_string, extras);
> Error in plotlyfig/download (line 410)
> plotlyfig = plotlygetfile(file_owner, file_id);
> Error in getplotlyfig (line 25)
> p.download(file_owner, file_id);
Can somebody help resolve this please?
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Plotly MATLAB 2.2.5 を使用して getplotlyfig('userXYZ','80') で失敗を再現します。response_handler(6 行目)から開始し、plotlygetfile(26 行目)、plotlyfig/download(410 行目)、getplotlyfig(25 行目)を通って応答を追跡します。既存の図形を取得しても、Content_Type フィールドがないというエラーが発生しなくなれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- matlab
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100