stream visualization with x axis

Open
#162 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

The issue names no files, tests, or entry points. Start by locating the stream visualization implementation and tracing how streamed tuples are mapped to plot axes. Done means a stream such as (ts, value) can use ts for the x axis and value for the y axis, with coverage for the requested behavior.

Written by the indexing model from the issue text.

Description

Hi, I have tried out a bit with the stream visualization using Random, it is a very cool feature.
With some tweaks, I think I will be able to plot some data frame created based on my own generator (haven't tried it out yet, but should be pretty easy using next(gen) to pipe the data to the frame)

The only thing is, the x axis is somehow not related to the generator itself. What would be really nice is to be able to use one of the columns in the generator as the x axis for plotting.
Any idea how to do this?

Simple example:
suppose I have a stream of tuples (ts, value), I want to use ts as the x axis, and value as the y asix for plotting.
(ts, value)
(1, 100)
(2, 200)
(3, 300)
...

Dominant language
Python
Stars
1.3k
Forks
149
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from python-streamz/streamz

All issues in python-streamz/streamz

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.