`mirror: "all"`: spurious ticks
Dieses Issue hat noch niemand übernommen.
- Vorherrschende Sprache
- JavaScript
- Sterne
- 18.3k
- Forks
- 2k
- Ø Merge
- 2 T. 12 Std.
- Gemergte PRs (30 T.)
- 28
Beschreibung
The documentation of mirror states that:
If "all", axis lines are mirrored on all shared-axes subplots. If "allticks", axis lines and ticks are mirrored on all shared-axes subplots.
I.e., from what I gather mirror: "all" should not put any tick marks but merely draw a line. Presently, however, it does put tick marks on the mirrored axis of the first subplot (or even solitary plot).
Previously, a variant of this was noted in #4136 where mirror: "all" would behave like mirror: "allticks". This was addressed in #4140, but the fix seems only to have addressed part of the issue, however. Specifically:
| Example | Behavior | |
|---|---|---|
| Before #4140 (v1.49.3) | https://codepen.io/thchr/pen/yLbpowE | Ticks on all mirrored axes |
| After #4140 (v1.49.4 and later) | https://codepen.io/thchr/pen/qBmpXge | Ticks on mirrored axis of first subplot |
What I thought expected behavior would be is this (i.e. tick on no mirrored axis; only the left-most non-mirrored y-axis of the first subplot):

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
Reproduziere das Verhalten anhand der verlinkten CodePen-Beispiele und vergleiche mirror: "all" mit mirror: "allticks" bei Subplots mit gemeinsam genutzten Achsen. Verfolge das für das erste Subplot verantwortliche Verhalten der Achsenspiegelung und überprüfe anschließend, dass mirror: "all" gespiegelte Linien ohne Tick-Markierungen zeichnet, während die erwartungsgemäß nicht gespiegelte Achse ihre Ticks beibehält.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- data-visualization
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100