Published March 26, 2025 | Version v0.4.0
Software Open

fastplotlib/fastplotlib: v0.4.0

  • 1. NYU, Flatiron CCN
  • 2. Duke University
  • 3. Independent software engineer
  • 4. Rockefeller Brain Observatory
  • 5. Simons Foundation
  • 6. NYU
  • 7. @mindthemath
  • 8. Harvard Medical School

Description

New

  • Window layouts! You can create subplots with arbitrary rects/extents on the canvas, move and resize them! From #740. See the Examples Gallery to learn how to create them.

https://github.com/user-attachments/assets/f24d0273-4f86-48f9-b06c-8bf062fae142

  • Bidirectional events are supported! No changes in the API, just add event handlers as you normally would without worrying about recursion if you end up with cycles in your event graph. :smile: #744
  • #771 , not officially documented for now, the way in which you access this might change in the future but we plan to keep this because it's very useful

Breaking

  • Subplot.set_title no longer exists, use Subplot.title = "new_title_text". Subplot.title will return a TextGraphic that you can further format.
  • The prototype video recorder (which wasn't really exposed) has been removed since it was very wonky. Once #765 is done we will have a proper way to create a video.

What's Changed

  • Update governance by @clewis7 in https://github.com/fastplotlib/fastplotlib/pull/719
  • removes size attribute use for histogram component of imagewidget by @apasarkar in https://github.com/fastplotlib/fastplotlib/pull/712
  • fit old rtd links in faq by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/720
  • bump version to 0.4.0 by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/713
  • Update WGPU_FORCE_OFFSCREEN to RENDERCANVAS_FORCE_OFFSCREEN by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/723
  • Get nearest graphics indices by @FlynnOConnell in https://github.com/fastplotlib/fastplotlib/pull/699
  • replace weird quotes, update GraphicMethodsMixin by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/735
  • move viewport rect logic from subplot and docks to Figure by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/724
  • remove old video writer code by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/736
  • Update CONTRIBUTING.md by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/737
  • add kmeans clustering example by @clewis7 in https://github.com/fastplotlib/fastplotlib/pull/734
  • implemenet @block_reentrance decorator by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/744
  • docs via ssh by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/751
  • Rectangle/bbox layouts in a Figure by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/740
  • fix comment, fix doc example readme file by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/769
  • Imgui stats by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/771
  • update gov and CoC about LLM spam by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/774
  • soft pin to pygfx~=0.9.0 for fpl release v04.0 by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/775

Full Changelog: https://github.com/fastplotlib/fastplotlib/compare/v0.3.0...v0.4.0

Files

fastplotlib/fastplotlib-v0.4.0.zip

Files (15.6 MB)

Name Size Download all
md5:bdae953f38eb66675cb90a2ecd905cc7
15.6 MB Preview Download

Additional details

Related works