JuliaGraphics / ColorSchemes.jl

colorschemes, colormaps, gradients, and palettes

Home Page:http://juliagraphics.github.io/ColorSchemes.jl/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scientific colour maps v8.0

milankl opened this issue · comments

v8.0 was released 2 months ago which includes new colour maps, see below. Just as a hint in case you want to include them!

image

Now updated on master to v8.0.0, will give it a bit of testing before another release (our last release was 2 days ago).

Awesome, highly appreciated!

Where are they though?

(@v1.9) pkg> st ColorSchemes
Status `~/.julia/environments/v1.9/Project.toml`
  [35d6a980] ColorSchemes v3.24.0 `https://github.com/JuliaGraphics/ColorSchemes.jl#master`

julia> ColorSchemes.lipari
ERROR: UndefVarError: `lipari` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ REPL[22]:1

julia> ColorSchemes.navia
ERROR: UndefVarError: `navia` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ REPL[23]:1

julia> ColorSchemes.managua
ERROR: UndefVarError: `managua` not defined
Stacktrace:
 [1] getproperty(x::Module, f::Symbol)
   @ Base ./Base.jl:31
 [2] top-level scope
   @ REPL[24]:1

Oops, my mistake! I copied __init.py__ from his version 8.0 zip

"""
    ScientificColourMaps7

    Usage
    -----
    import ScientificColourMaps5 as SCM5
    plt.imshow(data, cmap=SCM5.berlin)

    Available colourmaps
    ---------------------
    acton, bam, bamako, bamO, batlow, batlowK, batlowW, 
    berlin, bilbao, broc, brocO, buda, bukavu, cork, corkO,
    davos, devon, fes, grayC, hawaii, imola, lajolla, lapaz,
    lisbon, nuuk, oleron, oslo, roma, romaO,tofino, tokyo,
    turku, vanimo, vik, vikO
"""

but now I see that that is for version 7. :(

I'll find another list and try again!

I've made another commit, hopefully this is better...

It is 🎉

image