Skip to content
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

ENH: add XKCD colorname -> hex mapping #5775

Merged
merged 11 commits into from Mar 29, 2016

Commits on Dec 31, 2015

  1. Copy the full SHA
    605a8af View commit details
    Browse the repository at this point in the history

Commits on Jan 2, 2016

  1. MNT: normalize X11/CSS/HTML colors

     - removed darksage, lightsage, sage which are colors we added in
       1ac590e  These colors are now
       included in the XKCD mapping
     - correct sandybrown which mpl had as '#FAA460' but should be '#F4A460'
       according to the w3 group, wikipedia, the copy of rgb.txt bundled
       in the emacs source, and the mapping that we had bundled with AGG for
       a while.  The original value goes back to
       ec45d17
    tacaswell committed Jan 2, 2016
    Copy the full SHA
    010be02 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    e392d03 View commit details
    Browse the repository at this point in the history
  3. MNT: unify string handling

     - convert the single-letter colors to hex in source
     - single path for looking up string -> hex -> rgb values
    tacaswell committed Jan 2, 2016
    Copy the full SHA
    e049a49 View commit details
    Browse the repository at this point in the history
  4. Copy the full SHA
    bda202b View commit details
    Browse the repository at this point in the history

Commits on Jan 5, 2016

  1. MNT: add xkcd prefix + switch priority order

     - prefer the CSS4 str -> hex values because they are the 'standard'.
       The xkcd colors might be 'better', but we are not the right place to
       lead that change.  If users use CSS/HTML/X11 color in mpl they should
       expect it to match the same color set in html for embedding mpl
       figures into websites and such.
    
     - Provide entries in XKCD dict of all names (with and with out spaces)
       prefixed with XKCD.  Thus to get XKCD's version of blue use
       `color='xkcdblue'
    tacaswell committed Jan 5, 2016
    Copy the full SHA
    b2543f6 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2016

  1. FIX: restore single character colors to rgb tuples

    The hex representations are not exact which resulted in
    very small slight color changes.
    tacaswell committed Jan 18, 2016
    Copy the full SHA
    9feeb9e View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2016

  1. WIP color docs

    tacaswell committed Feb 14, 2016
    Copy the full SHA
    b93bd5d View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2016

  1. FIX: use lowercase in map

    ColorConverter lowercases everything on the way in.
    tacaswell committed Mar 7, 2016
    Copy the full SHA
    9963cca View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    fafa36f View commit details
    Browse the repository at this point in the history

Commits on Mar 28, 2016

  1. Copy the full SHA
    9687f65 View commit details
    Browse the repository at this point in the history