You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to add an alpha property to the plotter that controls, well, the alpha-value of drawn points. Its usage would have to be restricted to the scatter artist as there wouldn't be any real equivalent for a 2D histogram.
In the scope of the clusters plotter, this parameter could then help to move out-of-timeframe points/objects into the background of the plot.
The text was updated successfully, but these errors were encountered:
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).
It would be nice to add an
alpha
property to the plotter that controls, well, the alpha-value of drawn points. Its usage would have to be restricted to the scatter artist as there wouldn't be any real equivalent for a 2D histogram.In the scope of the clusters plotter, this parameter could then help to move out-of-timeframe points/objects into the background of the plot.
The text was updated successfully, but these errors were encountered: