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