8000 ENH: add modified CMRmap colormap with improved linearity by zblz · Pull Request #5172 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

ENH: add modified CMRmap colormap with improved linearity #5172

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

Closed
wants to merge 2 commits into from
Closed
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
add CMRmap2 to colormaps docstring
  • Loading branch information
zblz committed Oct 3, 2015
commit f63c7e5f6e4742f6bb314ca49aaf37abd74c9d11
6 changes: 6 additions & 0 deletions lib/matplotlib/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -2106,6 +2106,8 @@ def colormaps():
maintains an aesthetically pleasing color image that
automatically reproduces to a monotonic grayscale with
discrete, quantifiable saturation levels." [#]_
CMRmap2 Modified version of CMRmap that improves its luminosity
linearity for low values. [#]_
cubehelix Unlike most other color schemes cubehelix was designed
by D.A. Green to be monotonically increasing in terms
of perceived brightness. Also, when printed on a black
Expand Down Expand Up @@ -2161,6 +2163,10 @@ def colormaps():
<http://www.mathworks.com/matlabcentral/fileexchange/2662-cmrmap-m>`_
by Carey Rappaport

.. [#] See `Modified CMRmap
<http://www.mathworks.com/matlabcentral/fileexchange/39552-modified-cmrmap>`_
by Christopher Hummersone

.. [#] Changed to distinguish from ColorBrewer's *Spectral* map.
:func:`spectral` still works, but
``set_cmap('nipy_spectral')`` is recommended for clarity.
Expand Down
0