imshow() animation_frame behaves incorrectly with binary_string = True
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Python
- Estrelas
- 18.8k
- Forks
- 2.8k
- Merge médio
- 16h 26min
- PRs com merge (30d)
- 21
Descrição
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
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- data-visualization
- Tipo de issue
- Bug
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100