plotly / plotly/plotly_matlab

fig2plotly() produces error in a code that uses colorbar()

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

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

主要言語
MATLAB
スター
413
フォーク
166
PR マージ指標
30日以内にマージされた PR はありません

説明

An attempt to call fig2plotly() in a code that uses colorbar() produces the following error:

PROMPT> colorbar();
PROMPT> fig2plotly(gcf, 'offline', true);
Insufficient number of outputs from right hand side of equal sign to satisfy assignment.

Error in findColorbarAxis (line 8)
colorbarAxis = obj.State.Axis(colorbarAxisIndex).Handle;

Error in plotlyfig/update (line 552)
colorbarAxis = findColorbarAxis(obj, handle(cols(c)));

Error in plotlyfig (line 203)
obj.update;

Error in fig2plotly (line 44)
p = plotlyfig(varargin{:});

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

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

コマンド colorbar();fig2plotly(gcf, 'offline', true); を再現し、その後 findColorbarAxis の 8 行目から開始して、plotlyfig/update の 552 行目からの呼び出しを追跡してください。報告された plotlyfigfig2plotly を通るスタックトレースを使用して、colorbar が存在する場合に失敗が解消されることを確認してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
matlab
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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