Streamz hvplot resets zoom and pan on each update
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 30/100
- Tipo de issue
- Bug
- Clareza
- Precisa de esclarecimento
- Status de atividade
- Estagnada
- Stack de tecnologia
- pandas, python
- Domínio
- data-visualization, stream-processing
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Python
- Estrelas
- 1.3k
- Forks
- 149
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
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.
Mais de python-streamz/streamz
-
pkg_resources warning Aberta
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 35/100
python-streamz/streamz#481 · 4 comentários ·
-
Combining the streamz.Stream.filenames() and streamz.Stream.from_textfile() using dask scatter? Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 25/100
python-streamz/streamz#480 · 2 comentários ·
-
Compile the code into c++ Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
python-streamz/streamz#479 · 1 comentário ·
-
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 20/100
python-streamz/streamz#478 · 6 comentários ·
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 10/100
python-streamz/streamz#476 · 17 comentários · 2 reações ·
Todas as issues de python-streamz/streamz
Issues semelhantes
-
documentation help wanted
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 90/100
simonw/sqlite-utils#872 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 88/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100