plotly / plotly/plotly_matlab

plotlysetup_online() command returns error

Offen
#479 1 Kommentar 3 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Vorherrschende Sprache
MATLAB
Sterne
413
Forks
166
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne mit der Funktion plotlysetup_online() und untersuche Zeile 31, in der plotlysetupPath zugewiesen wird. Führe den Befehl plotlysetup_online(username, API_key) erneut aus und überprüfe, dass der Befehl nach der Korrektur nicht mehr plotly:notFound meldet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
matlab
Bereich
data-visualization
Issue-Typ
Bug
Schwierigkeit
1/5
Geschätzter Aufwand
Unter einer Stunde
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.