From 9ab458e10949bdbfa39b6b630154393b288526fb Mon Sep 17 00:00:00 2001 From: Thomas Breloff Date: Thu, 1 Oct 2015 12:55:05 -0500 Subject: [PATCH] switched gadfly heatmap to Geom.histogram2d --- src/backends/gadfly.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/backends/gadfly.jl b/src/backends/gadfly.jl index e180bce3..b12d1f8b 100644 --- a/src/backends/gadfly.jl +++ b/src/backends/gadfly.jl @@ -87,7 +87,8 @@ end # function getGeoms(linetype::Symbol, marker::Symbol, markercolor::Colorant, nbins::Int) function getLineGeoms(d::Dict) lt = d[:linetype] - lt in (:heatmap,:hexbin) && return [Gadfly.Geom.hexbin(xbincount = d[:nbins], ybincount = d[:nbins])] + lt == :hexbin && return [Gadfly.Geom.hexbin(xbincount = d[:nbins], ybincount = d[:nbins])] + lt == :heatmap && return [Gadfly.Geom.histogram2d(xbincount = d[:nbins], ybincount = d[:nbins])] lt == :hist && return [Gadfly.Geom.histogram(bincount = d[:nbins])] # lt == :none && return [Gadfly.Geom.path] lt == :path && return [Gadfly.Geom.path]