plotly / plotly/plotly_matlab

docs - boundedline

Open
#420 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
MATLAB
Stars
413
Forks
166
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the example linked in matlab/2021-08-04-continuous-error-bars.md and compare the failure with the reported stack trace. Read findLegendAxis, plotlyfig/update, and fig2plotly at the locations shown; done means determining whether the example or the plotting path needs correction and verifying that the documented plots render without this error.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
data-visualization
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.