Fastplotlib

Latest version: v0.2.0

Safety actively analyzes 682404 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.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: 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 pygfxmain 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

0.1.0

0.1.0.a16

Breaking changes
* in 382 the `controllers` argument for `GridPlot` has been replaced by two new arguments. See the new docstring for details, briefly:
- `controller_ids` to specify how controllers can be synced across subplots
- `controller_types` to specify the controller types, such as "panzoom", "fly", "orbit", etc.
* after 364 `PlotArea.auto_scale()` only takes keyword arguments and no positional arguments.

What's Changed
* try CI with bigmem runner again by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/363
* set canvas default fps as 60 by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/370
* `Plot.auto_scale()` shouldn't change the camera aspect unless desired by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/364
* `ImageWidget` notebook tests by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/371
* histogram LUT calculation fix, kinda by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/372
* forget notebook_finished() call by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/373
* skip setting data to hlut tool if not present in image widget subplot dock by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/378
* cameras and controllers refactor by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/382


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

0.1.0.a15

What's Changed
* fix controller getting disabled by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/354
* fix normalize_min_max by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/353
* make hlut widget optional by clewis7 in https://github.com/fastplotlib/fastplotlib/pull/351
* bugfixes and more tests by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/358

Note: CI for this version was performed locally and reference images were checked manually. GitHub actions was bugging out heavily.

**Full Changelog**: https://github.com/fastplotlib/fastplotlib/compare/v0.1.0.a14...v0.1.0.a15

0.1.0.a14

What's Changed
* fix `auto_scale` by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/318
* allow getting and setting cmaps in image widget by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/320
* add `in` operator to `PlotArea` base by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/321
* fix cmap_values were not set in the `setter` by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/323
* remove jupyter check for ImageWidget by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/324
* rename master -> main, hopefully got all references by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/326
* add repr for all graphic features by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/332
* add polygon button to gridplot toolbar by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/334
* forgot a callback by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/336
* add qt video example by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/341
* Fix selector garbage collection by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/319
* new logo files in docs source by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/343
* refactor text graphic by clewis7 in https://github.com/fastplotlib/fastplotlib/pull/335
* histogram lut widget by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/344
* add text to hlut by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/348
* Plot frame by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/313


**Full Changelog**: https://github.com/fastplotlib/fastplotlib/compare/v0.1.0.a13...v0.1.0.a14

0.1.0.a13

What's Changed
* Add sizes to scatter plots by DavidVFiumano in https://github.com/fastplotlib/fastplotlib/pull/289
* fix examples so they can be run locally without offscreen canvas by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/294
* auto connect a ipywidget slider to a linear and linear region selector by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/298
* Selector fixes by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/304
* Fix typos by kianmeng in https://github.com/fastplotlib/fastplotlib/pull/303
* make set_feature, reset_feature public by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/308
* fix flip button by clewis7 in https://github.com/fastplotlib/fastplotlib/pull/307
* add jupyter-sidecar as a dependency, update simple notebook by clewis7 in https://github.com/fastplotlib/fastplotlib/pull/300
* vertex_colors -> color_mode='vertex' by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/312
* add desktop-only CI, add py312, remove `ipywidgets` import in `plot.py`, pin `pygfx>=0.1.14` by kushalkolar in https://github.com/fastplotlib/fastplotlib/pull/314

New Contributors
* DavidVFiumano made their first contribution in https://github.com/fastplotlib/fastplotlib/pull/289
* kianmeng made their first contribution in https://github.com/fastplotlib/fastplotlib/pull/303

**Full Changelog**: https://github.com/fastplotlib/fastplotlib/compare/v0.1.0.a12...v0.1.0.a13

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.