plotly / plotly/plotly_matlab

plotlysetup_online() command returns error

Open
#479 1 comment 3 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

Running the following command:
plotlysetup_online(username, API_key)

returns the following error:
plotly:notFound
Shoot! It looks like MATLAB is having trouble finding the current version
of Plotly. Please make sure that the Plotly API folder is in the same
directory as plotlysetup.m. Questions? Ask on https://community.plotly.com/c/api/matlab/

The solution is simple. Simply change line 31 of function plotlysetup_online(), from
plotlysetupPath = which('plotlysetup');
to
plotlysetupPath = which('plotlysetup_online');
I am reporting it as a bug for the developers in case somebody else hasn't, and I am also giving the solution for anyone who might be facing the same issue. Thank you.

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 in the plotlysetup_online() function and inspect line 31, where plotlysetupPath is assigned. Reproduce the plotlysetup_online(username, API_key) command and verify that the command no longer reports plotly:notFound after the correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
matlab
Domain
data-visualization
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.