axis_scale='unit' centres on the mean, so skewed data sit off-centre
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 22/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- matplotlib, plotly, python
- Área
- data-visualization
Línea de trabajo
The centring logic for axis_scale='unit' is the starting point, and the issue traces it to the mean rather than the midrange. Run tests/test_gh141_marker_line_smoothing.py and tests/test_plot_audit_b1.py::TestStaticLineDataFidelity first, since these five tests encode the current placement and will fail under the change. The issue defers this to 1.2 and it touches every 2-D and 3-D figure, so confirm scope with maintainers before editing.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
With the default axis_scale='unit', each axis is centred on the data's mean, not its midrange. Skewed data therefore sit off-centre in the plot box.
Measured during the 1.1 release review (candidate c433b8f0):
hyp.plot(...)2-D on a random-walk fixture (feature tourPLOT-basic-*): the trajectory fills the top two-thirds of the box and the bottom third is empty. Matplotlib and plotly behave the same.weights_sample: every axis mean maps to about +0.13. Per axis, 72–76% of points sit above the centre, and 41% fall in the upper octant.- A lognormal array: means map to about −0.85, and 0.7% of points per axis sit above the centre. The data fill the lower corner.
Centring each axis on its midrange (min + max) / 2 would fill the box. It changes how every 2-D and 3-D figure looks. On a patched copy, 5 tests that encode the current placement fail: 3 in tests/test_gh141_marker_line_smoothing.py and 2 in tests/test_plot_audit_b1.py::TestStaticLineDataFidelity. Every gallery image, tutorial output and screenshot would need regenerating, so this is deferred from 1.1 to 1.2.
- Lenguaje dominante
- Python
- Estrellas
- 1.9k
- Forks
- 164
- Merge medio
- 2 h 46 min
- PR fusionados (30 d)
- 2
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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.
Más de ContextLab/hypertools
-
enhancement low effort
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
ContextLab/hypertools#225 · 2 comentarios ·
-
add soundtrackAbiertomedium effort
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
ContextLab/hypertools#163 · 2 comentarios ·
-
awesome enhancement help wanted high effort pie in the sky
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
ContextLab/hypertools#113 · 4 comentarios ·
-
on-the-fly decodingAbiertolow priority medium effort
Dificultad 5/5 Más de una semana Aptitud para principiantes 30/100
ContextLab/hypertools#112 · 2 comentarios ·
-
on-the-fly interactive labelsAbiertolow priority medium effort
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
ContextLab/hypertools#111 · 2 comentarios ·
Todos los issues de ContextLab/hypertools
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
sierra-research/tau2-bench#635 ·
Los mantenedores suelen responder en 1 día
-
The add-ssm-model skill requires a Cython simulator; the contributing guide allows Python onesPosiblemente ocupada @fmuia la tomó hoy. Abiertodocumentation skill
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
lnccbrown/ssm-simulators#406 ·
Los mantenedores suelen responder en 4 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
btclib-org/btclib-ecc#309 ·
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
jbacalso24/mimry#459 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug] POST /revoke with a FastMCP access token is a silent no-op (ownership gate never matches)Abiertoauth bug high-priority
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día