plotly_matlab icon indicating copy to clipboard operation
plotly_matlab copied to clipboard

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

Open ablekh opened this issue 8 years ago • 1 comments

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{:});

ablekh avatar Apr 15 '17 03:04 ablekh

Hi, is there any updates on this issue? @ablekh did you maybe find a work around or fix for this?

HanliTheron avatar Apr 30 '21 08:04 HanliTheron