pop! colorgradient from defaults

This commit is contained in:
Daniel Schwabeneder 2019-11-27 18:21:22 +01:00
parent 4d9dc31c5e
commit b45c336063

View File

@ -17,6 +17,7 @@ function _theme(s::Symbol, defaults::KW; kw...)
if haskey(defaults, :colorgradient)
PlotUtils.clibrary(:misc)
PlotUtils.default_cgrad(default = :sequential, sequential = PlotThemes.gradient_name(s))
pop!(defaults, :colorgradient)
else
PlotUtils.clibrary(:Plots)
PlotUtils.default_cgrad(default = :sequential, sequential = :inferno)