fixed default PyPlot gradient
This commit is contained in:
parent
165c84c246
commit
88b9d71bd7
@ -45,8 +45,8 @@ function getPyPlotColorMap(c::ColorGradient, α=nothing)
|
|||||||
pycolors.pymember("LinearSegmentedColormap")[:from_list]("tmp", pyvals)
|
pycolors.pymember("LinearSegmentedColormap")[:from_list]("tmp", pyvals)
|
||||||
end
|
end
|
||||||
|
|
||||||
# anything else just gets a redsblue gradient
|
# anything else just gets a bluesred gradient
|
||||||
getPyPlotColorMap(c, α=nothing) = getPyPlotColorMap(ColorGradient(:redsblues), α)
|
getPyPlotColorMap(c, α=nothing) = getPyPlotColorMap(ColorGradient(:bluesreds), α)
|
||||||
|
|
||||||
# get the style (solid, dashed, etc)
|
# get the style (solid, dashed, etc)
|
||||||
function getPyPlotLineStyle(linetype::Symbol, linestyle::Symbol)
|
function getPyPlotLineStyle(linetype::Symbol, linestyle::Symbol)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user