From 88b9d71bd78e0b36b2823d3b0944eb06fe613161 Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Mon, 7 Mar 2016 09:55:05 -0500 Subject: [PATCH] fixed default PyPlot gradient --- src/backends/pyplot.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backends/pyplot.jl b/src/backends/pyplot.jl index caf2d518..8e4f9fc5 100644 --- a/src/backends/pyplot.jl +++ b/src/backends/pyplot.jl @@ -45,8 +45,8 @@ function getPyPlotColorMap(c::ColorGradient, α=nothing) pycolors.pymember("LinearSegmentedColormap")[:from_list]("tmp", pyvals) end -# anything else just gets a redsblue gradient -getPyPlotColorMap(c, α=nothing) = getPyPlotColorMap(ColorGradient(:redsblues), α) +# anything else just gets a bluesred gradient +getPyPlotColorMap(c, α=nothing) = getPyPlotColorMap(ColorGradient(:bluesreds), α) # get the style (solid, dashed, etc) function getPyPlotLineStyle(linetype::Symbol, linestyle::Symbol)