[Request] Provide a parameter to suppress the "No trace type specified" warning+message
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- R
- Sterne
- 2.7k
- Forks
- 641
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
For example, the first sample code in ?plot_ly is
plot_ly(economics, x = ~pop)
Running that results in
No trace type specified:
Based on info supplied, a 'histogram' trace seems appropriate.
Read more about this trace type -> https://plot.ly/r/reference/#histogram
Sometimes this comes out as a warning and sometimes as a message. There are a variety of ways to deal with workarounds trying to suppress warnings/messages they're not ideal. It would be great if there was a parameter that would allow us to suppress such messages
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne mit dem Einstiegspunkt plot_ly und reproduziere das Beispiel plot_ly(economics, x = ~pop) aus ?plot_ly. Verfolge, wo die Warnung oder Meldung "No trace type specified" ausgegeben wird, und bestimme, wie ein Unterdrückungsparameter beide Formen abdecken sollte. Als abgeschlossen gilt die Aufgabe, wenn Aufrufer diese Ausgabe unterdrücken können und das bestehende Verhalten unverändert bleibt, wenn der Parameter nicht verwendet wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- r
- Bereich
- data-visualization
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100