Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

285
Vistas
Plotly autoscale bug

Hello fellow developers,

I'm having some issues with Plotly in my JavaScript application. I have a graph that is fed with data at a rate of one time per second. Naturally, after some time, the x-axis gets too long, and Plotly decides to show only the last few hundred (I will call it the tail-view). That's totally fine, for if I want to see the whole plot I could just click the Autoscale button.

However, it doesn't seem to be working. i mean, it does work, but only for a second (usually less), and it collapses once again into the tail-view. Since I can't put a video here, I will show it in a sequence of three pictures:

Picture 1 - Tail-view that Plotly creates (with x-axis showing only the previous 500 or so seconds)

Graph before autoscale

Picture 2 - That's the whole-view of the graph right after I click the Autoscale button (this also happens with the Reset Axes button). That's what I want, but the issue is that it only stays that way for a very brief period, usually less than 1 second.

Graph right after autoscale is clicked

Picture 3 - Graph collapsed to tail-view shortly after I click the Autoscale button

Graph back to compressed after less than one second

All that said, I wonder if there's a way to fix this issue. I gave the Autoscale example, but it also happens with Reset Axis, and honestly with any other tool that allows me to zoom in/out and pan through the graph - no matter what I do, it almost immediately collapses into the tail-view again. Is there something I can do about it?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda