`mirror: "all"`: spurious ticks
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 18.3k
- Forks
- 2k
- Merge medio
- 2 d 12 h
- PR fusionados (30 d)
- 28
Descripción
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):

Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Reproduce el comportamiento utilizando los ejemplos de CodePen enlazados y compara mirror: "all" con mirror: "allticks" en subplots con ejes compartidos. Rastrea el comportamiento del reflejo de ejes responsable del primer subplot y, después, verifica que mirror: "all" dibuja líneas reflejadas sin marcas de ticks, mientras que el eje que no debe reflejarse conserva sus ticks.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- data-visualization
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100