Streamz hvplot resets zoom and pan on each update
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 30/100
- Tipo de issue
- Error
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- pandas, python
Línea de trabajo
Start with the Streamz DataFrame and hvplot example in the issue, then review the linked Discourse report to understand the zoom and pan reset. Determine whether historical data or a supported way to disable those interactions is available; done means the behavior and an actionable resolution are documented or the issue is directed to the responsible project.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
I'm plotting a large amount of streaming data using streamz and I'm very happy with the performance.
Here is how I create the stream, data frame, and the line:
self.stream = streamz.Stream()
example = pd.DataFrame({'Time': [], 'Depth': []}, index=[])
df = streamz.dataframe.DataFrame(self.stream, example=example)
self.line = df.hvplot.line(width=800,
x='Time',
y='Depth',
).opts(
title='Depth',
xlabel='Time',
ylabel='Depth')
The data frame is periodically updated like this:
df = pd.DataFrame([(date, value)], columns=['Time', 'Depth'])
self.stream.emit(df)
This builds a nice line that changes as new data arrives. However, zooming and panning don't work as the historical data is apparently not present for the hvplot.line.
Ideally, I can provide the missing data. If this is possible, please point me to some documentation or example.
If I cannot use zooming and panning, what is the correct way to disable them?
See
https://discourse.holoviz.org/t/streamz-hvplot-resets-zoom-and-pan-on-each-update/4609/1
for the first report of this I can find.
- Lenguaje dominante
- Python
- Estrellas
- 1.3k
- Forks
- 149
- Métricas de merge de PR
- Sin PR fusionados en 30 d
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 python-streamz/streamz
-
pkg_resources warning Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
python-streamz/streamz#481 · 4 comentarios ·
-
Combining the streamz.Stream.filenames() and streamz.Stream.from_textfile() using dask scatter? Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
python-streamz/streamz#480 · 2 comentarios ·
-
Compile the code into c++ Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
python-streamz/streamz#479 · 1 comentario ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
python-streamz/streamz#478 · 6 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 10/100
python-streamz/streamz#476 · 17 comentarios · 2 reacciones ·
Todos los issues de python-streamz/streamz
Issues similares
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
use-agent-os/agent-os#3314 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
BasedHardware/omi#15662 · 1 comentario ·
-
documentation help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
AiursoftWeb/AnduinOS-2#19 ·