plotly/plotly_matlab

docs - boundedline

danton267 opened this issue · 0 comments

these do plot, however they return an error - https://github.com/plotly/plotly.matlab-docs/blob/main/matlab/2021-08-04-continuous-error-bars.md

The error I received when I ran it first time was:

Error using matlab.graphics.illustration.Legend/get
Unrecognized property Legend for class Legend.

Error in
findLegendAxis>@(x)(isequal(handle(get(x.Handle,'Legend')),legendHandle))
(line 5)
    legendAxisIndex =
    find(arrayfun(@(x)(isequal(handle(get(x.Handle,'Legend')),legendHandle)),obj.State.Axis),
    1);

Error in findLegendAxis (line 5)
    legendAxisIndex =
    find(arrayfun(@(x)(isequal(handle(get(x.Handle,'Legend')),legendHandle)),obj.State.Axis),
    1);

Error in plotlyfig/update (line 742)
                legendAxis = findLegendAxis(obj, handle(legs(g)));

Error in plotlyfig (line 296)
                obj.update;

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

Error in test (line 7)
fig2plotly(gcf);

It prevents the plots from plotting in the docs, hopefully it is reproducable.