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