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