Info: Zenodo’s user support line is staffed on regular business days between Dec 23 and Jan 5. Response times may be slightly longer than normal.

Published June 19, 2024 | Version v0.2.0
Software Open

fastplotlib/fastplotlib: v0.2.0

  • 1. Flatiron CCN & NYU
  • 2. Duke University
  • 3. Independent software engineer
  • 4. Simons Founbdation
  • 5. NYU
  • 6. @mindthemath
  • 7. Harvard Medical School

Description

Major release

Breaking changes

  • Graphic properties (such as data, colors, thickness etc.) have been refactored. They are much simpler now.
    • Please see this for a description of the new API, concise and in-depth comparison are given: https://github.com/fastplotlib/fastplotlib/pull/511#issuecomment-2160077218
    • Events should be added onto graphics now, not onto graphic properties. ex: do not do: line.colors.add_event_handler(), instead do: line.add_event_handler(<callback>, "colors"). Decorators are also supported, for more info see https://github.com/fastplotlib/fastplotlib/pull/511#issuecomment-2160077218
    • selector selection is now in data space, and doesn't return indices. For example, linear_selector.selection will return the x or y position of the selector in data space, not the index like before. See the "selectors" section here for more details or the selector docs: https://github.com/fastplotlib/fastplotlib/pull/511#issuecomment-2160077218
  • Figure is new and is largely the same as the former Gridplot. Plot no longer exists. See #479

What's Changed

  • update contrib guide for git-lfs by @tlambert03 in https://github.com/fastplotlib/fastplotlib/pull/391
  • add faq to docs index by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/400
  • fix bug when remove_graphic() is used by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/405
  • add Deleted as a graphic feature by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/404
  • Update README.md by @clewis7 in https://github.com/fastplotlib/fastplotlib/pull/411
  • gpu info upon notebook import by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/410
  • set default renderer pixel_ratio=2 by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/412
  • add gpu info to docs by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/409
  • update screenshots, pygfx line shader changes by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/414
  • add gif files to .gitattributes by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/415
  • legends, part 1 by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/406
  • use pytest<8 until things catch up by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/419
  • more detailed contrib docs by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/418
  • ruff format everything by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/421
  • add zmq example by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/422
  • fix fastplotlib.__init__ by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/424
  • Fix typo by @almarklein in https://github.com/fastplotlib/fastplotlib/pull/423
  • Just use asarray by @almarklein in https://github.com/fastplotlib/fastplotlib/pull/426
  • Image widget by @almarklein in https://github.com/fastplotlib/fastplotlib/pull/429
  • Remove duplicate code (mesh_masks) by @almarklein in https://github.com/fastplotlib/fastplotlib/pull/430
  • Lazy import av by @almarklein in https://github.com/fastplotlib/fastplotlib/pull/432
  • A bit of black by @almarklein in https://github.com/fastplotlib/fastplotlib/pull/433
  • Add black to setup in optional feature set for tests by @EricThomson in https://github.com/fastplotlib/fastplotlib/pull/436
  • update for changes in pygfx@main by @clewis7 in https://github.com/fastplotlib/fastplotlib/pull/443
  • add codeowners file by @clewis7 in https://github.com/fastplotlib/fastplotlib/pull/442
  • Rotation by @BalzaniEdoardo in https://github.com/fastplotlib/fastplotlib/pull/439
  • require only one reviewer by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/455
  • Use simpler form of super() where possible by @almarklein in https://github.com/fastplotlib/fastplotlib/pull/453
  • env var required for nb test funcs to run by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/460
  • Improvements to GUI selection and Qt support by @almarklein in https://github.com/fastplotlib/fastplotlib/pull/431
  • simplify screenshot testing by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/447
  • set min version py3.10, cleanup type annotations by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/465
  • revert setting pixel ratio by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/466
  • add References object to PlotArea, other cleanup, better garbage collection by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/467
  • gridplot controllers kwarg is back, other improvements to gp by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/477
  • Iw refactor by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/482
  • Gridplot -> Figure by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/479
  • making picking default for all graphics by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/484
  • update qt examples by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/485
  • remove __all__ from top level by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/490
  • Select gpu by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/491
  • Create GOVERNANCE.md by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/402
  • Small cleanup by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/498
  • simple scatter animation example in quickstart by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/500
  • cycle colors in scatter example by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/501
  • Graphic features refactor by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/511
  • ndarray.ptp -> np.ptp for numpy v2 by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/524
  • update example w.r.t. gfeatures refactor by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/528
  • always cast to float32, try to convert other array types too by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/527
  • Get nearest graphics by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/519
  • disable cmap property for RGB images by @clewis7 in https://github.com/fastplotlib/fastplotlib/pull/529
  • sphinx gallery by @clewis7 in https://github.com/fastplotlib/fastplotlib/pull/509
  • Fix off by one error by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/530
  • Figure.export() by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/531
  • update readme by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/532
  • Update deps by @kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/533

New Contributors

  • @tlambert03 made their first contribution in https://github.com/fastplotlib/fastplotlib/pull/391
  • @EricThomson made their first contribution in https://github.com/fastplotlib/fastplotlib/pull/436
  • @BalzaniEdoardo made their first contribution in https://github.com/fastplotlib/fastplotlib/pull/439

Full Changelog: https://github.com/fastplotlib/fastplotlib/compare/v0.1.0.a16...v0.2.0

Files

fastplotlib/fastplotlib-v0.2.0.zip

Files (9.7 MB)

Name Size Download all
md5:865b756d906607ed1366a93c6c02b996
9.7 MB Preview Download

Additional details

Related works