From df07dc93774d01bd996dc1109b15aa1d99182392 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Mon, 12 Oct 2020 01:16:59 +0200 Subject: [PATCH] actually remove transpose_z --- src/utils.jl | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/utils.jl b/src/utils.jl index 9aafd3c0..81779dd3 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -334,17 +334,6 @@ function indices_and_unique_values(z::AbstractArray) newz, vals end -# this is a helper function to determine whether we need to transpose a surface matrix. -# it depends on whether the backend matches rows to x (transpose_on_match == true) or vice versa -# for example: PyPlot sends rows to y, so transpose_on_match should be true -function transpose_z(plotattributes, z, transpose_on_match::Bool = true) - if plotattributes[:match_dimensions] == transpose_on_match - # z' - permutedims(z, [2,1]) - else - z - end -end handle_surface(z) = z handle_surface(z::Surface) = permutedims(z.surf)