Materials for the fastplotlib talk at SciPy 2023. This repo includes installation instructions and the demo notebooks covered in our talk.
For more info on fastplotlib see the repo: https://github.com/kushalkolar/fastplotlib/
The demos cover the following topics:
Images- plotting simple images, feature changes, image updates,ImageWidgetLines- 2D line plots, fancy indexing of features,LineCollection,LineStack,LinearSelector,LinearRegionSelector,Heatmap- Interactivity - high-level interactivity system to link graphics and their features together, addding event handlers for further interaction
GridPlots- grid ofSubplotsScatters- 2D and 3D scatter plots
See the fastplotlib repo for installation.
In order to run the notebooks you will also need to have imageio and zarr installed. These are not dependencies of fastplotlib, but are being used in these demos.
# other packages specifically used for this demo
# jupyterlab v3 because of sidecar, and pin pylingalg because of pygfx
pip install "jupyterlab<4" imageio "imageio[pyav]" zarr sidecar pylinalg==0.4.0 scikit-image glfw
# optional, you'll need C compilers
pip install simplejpeg
# fastplotlib with notebook dependencies
pip install "fastplotlib[notebook]"
Image,Line,Scatter,Heatmap- Collections -
LineCollection,LineStack(ex: neural timeseries data) - Interactions
Plot- a single plot areaGridPlot- a grid ofSubplots
ImageWidget- n-dimensional widget for Image data- Sliders, support window functions,
GridPlot, etc.
For a more in-depth look at our API, please visit our docs.
fastplotlib is a relatively new library, and we are always looking for feedback or help! Please see the contributing guide.
You can also look at our Roadmap for 2023 and Issues for more ideas on how to contribute.