Skip to content

Commit

Permalink
Merge pull request #19 from mkborregaard/move-blues
Browse files Browse the repository at this point in the history
moved :blues into the :Plots colorlibrary
  • Loading branch information
mkborregaard authored Jun 1, 2017
2 parents 5f0bbbd + 874bf0b commit 77b78fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/color_gradients.jl
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ const _testColors = [colorant"darkblue", colorant"blueviolet", colorant"darkcya
darken(colorant"yellow",0.3), colorant"orange", darken(colorant"red",0.2)]

const misc = ColorLibrary(Dict(:default => :sequential, :sequential => :heat, :diverging => :bluesreds), Dict(
:blues => [colorant"lightblue", colorant"darkblue"],
:reds => [colorant"lightpink", colorant"darkred"],
:greens => [colorant"lightgreen", colorant"darkgreen"],
:redsblues => [colorant"darkred", RGB(0.8,0.85,0.8), colorant"darkblue"],
Expand Down
3 changes: 2 additions & 1 deletion src/gradients/matplotlib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1040,7 +1040,6 @@ register_gradient_colors(:viridis, sample_evenly([
], 30), :Plots)



register_gradient_colors(:pu_or, [
RGB(45/255, 0/255, 75/255),
RGB(84/255, 39/255, 136/255),
Expand All @@ -1054,6 +1053,8 @@ register_gradient_colors(:pu_or, [
RGB(179/255, 88/255, 6/255),
RGB(127/255, 59/255, 8/255)], :Plots)

register_gradient_colors(:blues, [colorant"lightblue", colorant"darkblue"], :Plots)

# end of Plots colormaps
# ----------------------------------------------------------------------
# ----------------------------------------------------------------------

0 comments on commit 77b78fd

Please sign in to comment.