8000 DOC : move MEP21 · matplotlib/matplotlib@30c1da6 · GitHub
[go: up one dir, main page]

Skip to content

Commit 30c1da6

Browse files
committed
DOC : move MEP21
1 parent 1e07323 commit 30c1da6

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

doc/devel/MEP/MEP21.rst

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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+
============

doc/devel/MEP/index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,5 @@ Matplotlib Enhancement Proposals
2222
MEP14
2323
MEP15
2424
MEP19
25+
MEP21
2526
MEP25

0 commit comments

Comments
 (0)
0