Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
fix typo, this is really stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 committed Apr 29, 2020
1 parent 1efe799 commit 7040503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/conversions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ function convert_attribute(cs::Union{String, Symbol}, ::key"colormap", n::Intege
if cs_string in colorbrewer_8color_names # special handling for 8 color only
return to_colormap(ColorBrewer.palette(cs_string, 8), n)
else # cs_string must be in plotutils_names
return to_colormap(PlotUtils.get_colorscheme(:viridis).colors, n)
return to_colormap(PlotUtils.get_colorscheme(Symbol(cs_string)).colors, n)
end
else
error("There is no color gradient named: $cs")
Expand Down

0 comments on commit 7040503

Please sign in to comment.