View all files | ||||
A fast plotting library built using the pygfx render engine utilizing Vulkan via WGPU, so it is very fast! fastplotlib is focussed on very fast interactive plotting in the notebook using an expressive API. It also works within desktop applications using glfw or Qt.
fastplotlib is currently in the early alpha stage with breaking changes every ~week, but you're welcome to try it out or contribute! See our Roadmap for 2023.
Questions, ideas? Post an issue or chat on gitter.
See the examples directory. Start out with simple.ipynb.
neuroscience_usecase.mp4This is all in the notebook and non-blocking!
Interactive visualization of large imaging datasets in the notebook.
Install directly from GitHub using pip.
Note: do not download the version that is currently on PYPI (i.e. don't just do pip install fastplotlib, it is outdated (we're waiting for the next release of pygfx)
Installing simplejpeg is recommended for faster plotting in notebooks using rfb. You will need C compilers setup on your computer to install it:
Clone or download the repo to try the examples
You will need a GPU that supports Vulkan (iGPUs in CPUs should be fine). Generally if your GPU is from 2017 or later it should support Vulkan. See the section on "Install Vulkan drivers" below for more information.
For more information see: https://github.com/pygfx/wgpu-py#platform-requirements
Vulkan should be installed by default on Windows 11, but you will need to install your GPU manufacturer's driver package (Nvidia or AMD). If you have an integrated GPU within your CPU, you might still need to install a driver package too, check your CPU manufacturer's info.
Debian based distros:
For other distros install the appropriate vulkan driver package, and optionally the corresponding libjpeg-turbo package for better remote-frame-buffer performance in jupyter notebooks.
You will need at least MacOSX v10.13, not sure how to install Vulkan drivers on Mac. If anyone knows you can add instructions here!
https://www.youtube.com/embed/-_0Gp_EqepI
fpl_fast_image_updates.mp4https://user-images.githubusercontent.com/9403332/165677576-a0aa2d0f-a201-4e0e-91bd-aed800f775ee.mp4
fpl_lineplot.mp4