-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add alpha property to scatter artist
Related to #26 Add `alpha` property to control alpha-value of scatter points * Add `alpha` property to `Scatter` class in `src/biaplotter/artists.py` - Initialize `alpha` property in `__init__` method - Update `draw` method to use `alpha` property - Add getter and setter for `alpha` property * Add functionality to set and get `alpha` property for scatter artist in `CanvasWidget` class in `src/biaplotter/plotter.py` - Add `alpha` property to `CanvasWidget` class - Update `active_artist` setter to handle `alpha` property * Add unit tests for `alpha` property in `Scatter` class in `src/biaplotter/_tests/test_artists.py` - Test initialization, setting, and usage of `alpha` property --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/BiAPoL/biaplotter/issues/26?shareId=df67f154-a9ed-4910-a0bd-40b60e78eacc).
- Loading branch information
1 parent
65e2e9b
commit 21b98e4
Showing
3 changed files
with
62 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters