[BUG]: `contour.showlegend` default differs from actual behavior
Maintainer antworten meist innerhalb von 2 Tagen
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 2/5
- Geschätzter Aufwand
- 1-3 Stunden
- Anfängerfreundlichkeit
- 55/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript
- Bereich
- data-visualization
Rechercherichtung
The mismatch is set in src/traces/contour/style_defaults.js, lines 20-29, where showlegend is forced to false when coloring is not 'none'. Compare that with the documented default in the contour reference. Done means the documented default and the real behavior agree, which may mean editing the docs or the default, so confirm the intended direction with maintainers first. Check the existing contour tests before changing anything.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Description
The contour.showlegend reference documents the default as true.
However, for contours with coloring !== 'none', the actual default is explicitly set to false in:
https://github.com/plotly/plotly.js/blob/4862f6271046024e58cd25bfa771e81ffe2fdce6/src/traces/contour/style_defaults.js#L20-L29
So the documented default does not match the actual behavior. Or this is confusing.
Screenshot
Codepen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 18.4k
- Forks
- 2.1k
- Ø Merge
- 1 T. 5 Std.
- Gemergte PRs (30 T.)
- 12
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus plotly/plotly.js
-
[BUG]: `sankey`: `node.x` / `node.y` of `0` is ignoredEvtl. vergeben @adimalkar hat das vor 1 Tag übernommen. Offenbug P3 size: 1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 75/100
plotly/plotly.js#8150 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
[BUG]: `scatterpolargl` drops points between 10000 and 100000 pointsEvtl. vergeben @Tanishdete333 hat das vor 1 Tag übernommen. Offenbug P3 size: 1
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 82/100
plotly/plotly.js#8148 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
[BUG]: findEmpties throws "iterated with no new neighbors" for large NaN regions in contour (double-precision underflow)Evtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offenbug P3 size: 3
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
plotly/plotly.js#8108 · 4 Kommentare ·
Maintainer antworten meist innerhalb von 2 Tagen
-
chore P3 plotly-internal size: 3 task
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 77/100
plotly/plotly.js#8064 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 2 Tagen
-
chore P1 plotly-internal size: 1 task
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 82/100
Maintainer antworten meist innerhalb von 2 Tagen
Alle Issues in plotly/plotly.js
Ähnliche Issues
-
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 1 Tag
-
Add toro4n to the data modeling toolsEvtl. vergeben @henriklantzhedstrom-prog hat das heute übernommen. Offen
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 62/100
neo4j/docs-getting-started#546 ·
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 65/100
Maintainer antworten meist innerhalb von 25 Tagen
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
libnativeapi/nativeapi#21 ·
-
area: core complexity: easy impact: medium
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 86/100
ueberdosis/tiptap#8668 ·
Maintainer antworten meist innerhalb von 1 Tag