Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Massive MEP move #4293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 23 commits into from
Mar 30, 2015
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC : move MEP21
  • Loading branch information
tacaswell committed Mar 29, 2015
commit 30c1da6613a0800d42e9552a62d780b7042a8c78
56 changes: 56 additions & 0 deletions 56 doc/devel/MEP/MEP21.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
==============================
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
============
1 change: 1 addition & 0 deletions 1 doc/devel/MEP/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,5 @@ Matplotlib Enhancement Proposals
MEP14
MEP15
MEP19
MEP21
MEP25
Morty Proxy This is a proxified and sanitized view of the page, visit original site.