plotlysetup_online() command returns error

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

Dieses Issue hat noch niemand übernommen.

Bewertung

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

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.

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.

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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus plotly/plotly_matlab

Alle Issues in plotly/plotly_matlab

Ähnliche Issues

Weitere Issues zu MATLAB

Neue Issues direkt in Ihr Postfach

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