proplot icon indicating copy to clipboard operation
proplot copied to clipboard

Add a Color class

Open lukelbd opened this issue 3 years ago • 0 comments

This will implement a Color class with methods that replace the confusingly names, loose methods currently defined under utils.py like set_luminance and set_alpha. The old methods will redirect to new ones after emitting warnings. The class will be simply an instance of collections.MutableSequence with restricted contents and fixed length 3 or 4.

lukelbd avatar Jan 23 '22 12:01 lukelbd