plotly / plotly/plotly.py

imshow() animation_frame behaves incorrectly with binary_string = True

Abierto
#4,501 3 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

bug P3
Lenguaje dominante
Python
Estrellas
18.8k
Forks
2.8k
Merge medio
16 h 26 min
PR fusionados (30 d)
21

Descripción

Hi, I think there's something strange going on with:

  • imshow()
  • animation_frame
  • binary_string

From my tests, binary string (BS) causes the animation to glitch out and freeze, sometimes making the slider pop out of place, and the only way to "reset" the bug is to double click the image to auto resize it.

attached: two videos denoting the problem, it's a simple px.imshow(image, animation_frame = 0, binary_string = True)

TLDR - BS images load faster, but "freezes", no freezes when BS = False

https://github.com/plotly/plotly.py/assets/52300841/4dc37d5a-f7d7-476e-8f1c-c37e4d3356c7
https://github.com/plotly/plotly.py/assets/52300841/2b9c5e99-399d-4ea9-80c8-c81bea42c771

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Línea de trabajo

Start with the minimal px.imshow(image, animation_frame=0, binary_string=True) reproduction and compare it with binary_string=False. Investigate the animation and slider behavior shown in the attached videos; done means binary-string images animate without freezing or displacing the slider, without requiring a double-click to reset the view.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
python
Área
data-visualization
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
35/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.