Skip to content

Update colormap examples. #3791

Closed
Closed

Description

@chebee7i

The colormap demos shown:

http://matplotlib.org/examples/color/colormaps_reference.html

and

http://matplotlib.org/users/colormaps.html

do not include all colormaps that are available in Matplotlib. They also are not consistent with each other in that they show different subsets of the Matplotlib colormaps (e.g. #2659 treated binary and gray as equivalent but #3301 did not. For the record, they are not equivalent.). I can tackle this issue soonish---I just wanted to create an issue as a reminder. I also think it would be helpful if these categorizations were part of Matplotlib and available programmatically. Also related: #889.

Activity

  1. added this to the milestone on Nov 14, 2014
  2. tacaswell commented on Nov 14, 2014

    @tacaswell
    Member

    This should probably be folded in with the content at http://matplotlib.org/users/colormaps.html

  3. modified the milestones: , on Aug 19, 2015
  4. modified the milestones: , on Oct 26, 2015
  5. alimuldal commented on Nov 25, 2015

    @alimuldal
    Contributor

    The example plots for the new colormaps look wrong - the lightness axis seems to be inverted:

    Broken new  colormap examples

  6. mdboom commented on Nov 26, 2015

    @mdboom
    Member

    @alimuldal: This is puzzling as these figures are all generated from the same code. @njsmith, @kthyng: Any thoughts?

  7. kthyng commented on Nov 30, 2015

    @kthyng
    Contributor

    Ah yes, this is just due to whether the colormap increases or decreases in lightness across the colormap. I did it in a kludge-y way originally, but I can do a better job. Also, I can use the CAM02-UCS colorspace from viscm to calculate the lightness instead of CIELAB, which will give slightly different results. That whole page could use a bit of an update, huh. I'll work on this in the next few weeks.

  8. kthyng commented on Nov 30, 2015

    @kthyng
    Contributor

    I fixed the lightness plot code at pull request #5591.

  9. tacaswell commented on Dec 3, 2015

    @tacaswell
    Member

    fixed by #5591

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions