-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plotly streaming performance #294
Comments
Hi again Preston! This sounds like a reasonable use case. It would be nice to take some steps toward real-time plotting capabilities—I've spent a ton of time staring at I haven't used Dash personally but that sounds like it could be reasonable. There's visdom, which looks cool but I also haven't personally worked with. Rerun and Pangolin also do this kind of plotting quite well. With Plotly specifically I did some quick experiments just now and the bottleneck seems almost entirely in
The first two would be large undertakings. The third would be generally useful and could be implemented quite quickly; would that be good enough? I think we could expose a |
Hi Brent, thanks so much for the detailed answer (and sorry for my super slow response lol!). I totally agree with the options you're outlining here - I think as a "quick fix" streaming plot images makes sense, and if I get a chance I can start prototyping and profiling something like I think the first two definitely seem like huge undertakings that are probably not worth the effort - something like Will ping you again if I get a chance to code up something -- but really want to thank you again for the thoughtful answer!! |
Thanks for the update!! Yeah, the With #315 merged you could also draw the plots as lines in the 3D viewport... |
Hi Brent! I wanted to get your advice on a somewhat strange use case -- I'm building an app where I'd like to plot a relatively large amount of data that I'm streaming from the Python side (specifically, like dozens of line plots that will update in real-time).
I've done this before using OpenGL, but would love to do something similar using viser + plotly. However, I'm (understandbly) seeing that trying to stream this amount of data (following your design pattern in the
Plotly
example) is overwhelming the webapp (it's dropping to like 5-10 FPS).I've seen people suggest doing this using, e.g., Dash with client-side updates, but was curious if you had any suggestions on how to do large-scale real-time plotting in viser. Totally happy to just open a separate OpenGL window if that's the simplest solution also. Thanks!!!
The text was updated successfully, but these errors were encountered: