Re:Fastplotlib: GPU-accelerated, fast, and interactive plott...
by meisel on Tuesday March 11, 2025 @02:06PM
(#43335340)
One of the big bottlenecks of plotting libraries is simply the time it takes to import the library. I’ve seen matplotlib being slow to import, and in Julia they even have a “time to first plot” metric. I’d be curious to see how this library compares.
[ Parent
| on HN ]
Re:Fastplotlib: GPU-accelerated, fast, and interactive plott...
by clewis7 on Tuesday March 11, 2025 @03:38PM
(#43336229)
I think one nice thing that we have tried to do is limit super heavy dependencies and also separate optional dependencies to streamline things.
The quickest install would be `pip install fastplotlib`. This would be if you were interested in just having the barebones (no imgui or notebook) for desktop viz using something like glfw.
We can think about adding in our docs some kind of import time metrics.
Re:Fastplotlib: GPU-accelerated, fast, and interactive plott...
by fpl-dev on Tuesday March 11, 2025 @03:40PM
(#43336260)
Almar did some work on speeding up imports a year ago: https://github.com/fastplotlib/fastplotlib/pull/431
but we haven't benchmarked it yet
Re:Fastplotlib: GPU-accelerated, fast, and interactive plott...
by almarklein on Wednesday March 12, 2025 @03:56AM
(#43340815)
I have a feeling there's room for improvement for importing Pygfx as well. I think we should indeed strive that simple plots load super-quick.