From 6420f6fdc9e434a18f63074a27c394e9bd2e5511 Mon Sep 17 00:00:00 2001 From: Oliver Schulz Date: Wed, 1 Mar 2017 17:33:22 +0100 Subject: [PATCH] Conform to Plots.jl coding style --- src/recipes.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/recipes.jl b/src/recipes.jl index 5ab3765b..0da1311f 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -409,7 +409,7 @@ end @deps scatterbins scatter -_stepbins_path(edge, weights) = begin +function _stepbins_path(edge, weights) nbins = length(linearindices(weights)) if length(linearindices(edge)) != nbins + 1 error("Edge vector must be 1 longer than weight vector")