1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
|
==============================
MEP21: color and cm refactor
==============================
.. contents::
:local:
Status
======
- **Discussion**: This MEP has not commenced yet, but here are some
ongoing ideas which may become a part of this MEP:
Branches and Pull requests
==========================
Abstract
========
* color
* tidy up the namespace
* Define a "Color" class
* make it easy to convert from one color type to another ```hex ->
RGB```, ```RGB -> hex```, ```HSV -> RGB``` etc.
* improve the construction of a colormap - the dictionary approach
is archaic and overly complex (though incredibly powerful)
* make it possible to interpolate between two or more color types
in different modes, especially useful for construction of
colormaps in HSV space for instance
* cm
* rename the module to something more descriptive - mappables?
Overall, there are a lot of improvements that can be made with
matplotlib color handling - managing backwards compatibility will be
difficult as there are some badly named variables/modules which really
shouldn't exist - but a clear path and message for migration should be
available, with a large amount of focus on this in the API changes
documentation.
Detailed description
====================
Implementation
==============
Backward compatibility
======================
Alternatives
============
|