forked from napari/napari
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve multiple colors behavior in relevant layers (napari#782)
* Allow a single point to be added as 1D * Added possible color configs to test * Basic color tests for add_points * Basic mechanism of color handling * Mock data for tests * Added color transformation and appropriate tests * Moved transform function and its tests * Improved tests * Refactored Points layer object * Minor test addition * Test modifications * Points layer uses ColorArray * Point layer is now integrated with ColorArray colors, tests of it pass * Fixed hex conversion, all tests pass * Added test, fixed small bug with tiling * edge_ and face_color save last used color * added transparent color option * Moved color-handling files to their own folder * Renamed utils * Removed old util module * Fixed point selection bug * Fixed faulty import * Fixed numpy 1.17 deprecation becoming hard error in 1.18 * Fix numpy deprecation again * Resolve conflict * Fixed comments in PR and logic errors * Refactoring according to comments, test should pass * Fixed default face_color value * Working on standardization color, half-way through * More extensive work on standardize_color * All tests besides the RGBA one pass * Color tests pass * Removing .rgba from the wild * Removed .rgba isntances from relevant parts * Got rid of ColorArray in layers * Fixed tests to pass without ColorArray * Last fixes for tests * Moved tiling and transformation methods to their own utils module * Various fixes from review * Better param names * More basic color manipulation fixes * Applying suggestions * Reverting old changes * Remove support for list or tuple of arrays * Transparent color is now working * Better explain the logic behind combobox * Fixed merge conflicts * Formatting and other minor changes * Added explicit copy flag, tests do not warn anymore * Formatting
- Loading branch information
1 parent
b45a26d
commit 8554776
Showing
17 changed files
with
1,027 additions
and
154 deletions.
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
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
Oops, something went wrong.