From 6c9d5b85b6cd006777c2104eadf3aaee80f21d22 Mon Sep 17 00:00:00 2001 From: yha Date: Sun, 12 Dec 2021 11:26:05 +0200 Subject: [PATCH] Undo unrelated change --- src/utils.jl | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/utils.jl b/src/utils.jl index de151353..322f6d47 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -305,11 +305,9 @@ function heatmap_edges( ismidpoints = prod(z_size) == (ny * nx) isedges = z_size == (ny - 1, nx - 1) if !ismidpoints && !isedges - error( - """Length of x & y does not match the size of z. - Must be either `size(z) == (length(y), length(x))` (x & y define midpoints) - or `size(z) == (length(y)+1, length(x)+1))` (x & y define edges).""", - ) + error("""Length of x & y does not match the size of z. + Must be either `size(z) == (length(y), length(x))` (x & y define midpoints) + or `size(z) == (length(y)+1, length(x)+1))` (x & y define edges).""") end x, y = heatmap_edges(x, xscale, isedges), heatmap_edges(y, yscale, isedges, ispolar) # special handle for `r` in polar plots return x, y