Re:Fastplotlib: GPU-accelerated, fast, and interactive plott...
by almarklein on Wednesday March 12, 2025 @03:32AM
(#43340703)
One big difference is that Fastplotlib is based on GPU tech, so its capable of rendering much larger datasets interactively.
[ Parent
| on HN ]
Re:Fastplotlib: GPU-accelerated, fast, and interactive plott...
by unnah on Wednesday March 12, 2025 @12:07PM
(#43344702)
How much larger? Holoviz includes the datashader library for GPU-based rendering, and here is an example with 10 million points: https://examples.holoviz.org/gallery/nyc_taxi/nyc_taxi.html
Re:Fastplotlib: GPU-accelerated, fast, and interactive plott...
by almarklein on Wednesday March 12, 2025 @04:03PM
(#43347127)
I don't know Datashader that well, but from what I understand, it generates an image from a set of primitives (e.g. points), and then allows you to interactively inspect that image. It does not re-render the points on every frame like Fastplotlib/Pygfx does.
Depending on your GPU, you can render say 1-50 million points smoothly. Also see e.g. https://github.com/pygfx/pygfx/discussions/819