Skip to content

Commit

Permalink
ENH: Change plot colorlist by removing the awful yellow and changing …
Browse files Browse the repository at this point in the history
…the order

By changing the order we don't guarantee that to like colors are not next
to each other, but when the number of phases is small we can ensure that
only unique colors show up.
  • Loading branch information
bocklund committed Oct 12, 2017
1 parent 636656c commit 1f9653f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pycalphad/plot/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ def phase_legend(phases):
colorlist = {}
# colors from Junwei Huang, March 21 2013
# exclude green and red because of their special meaning on the diagram
colorvalues = ["0000FF", "FFFF00", "FF00FF", "00FFFF", "000000", "800000",
"008000", "000080", "808000", "800080", "008080", "808080",
"C00000", "00C000", "0000C0", "C0C000", "C000C0", "00C0C0",
colorvalues = ["0000FF", "008000", "C00000", "000000", "FF8D00", "FF00FF",
"00FFFF", "808080", "800080", "000080", "808000", "008080",
"800000", "00C000", "0000C0", "C0C000", "C000C0", "00C0C0",
"C0C0C0", "400000", "004000", "000040", "404000", "400040",
"004040", "404040", "200000", "002000", "000020", "202000",
"200020", "002020", "202020", "600000", "006000", "000060",
Expand Down

0 comments on commit 1f9653f

Please sign in to comment.