From 469e1f726bc2d0038571082a2d389dcf569de92f Mon Sep 17 00:00:00 2001 From: marius Date: Fri, 22 Sep 2023 10:17:17 -0700 Subject: [PATCH] fix healpix map plot --- ext/CMBLensingPythonPlotExt.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/CMBLensingPythonPlotExt.jl b/ext/CMBLensingPythonPlotExt.jl index a32a75b1..76f763d4 100644 --- a/ext/CMBLensingPythonPlotExt.jl +++ b/ext/CMBLensingPythonPlotExt.jl @@ -290,7 +290,7 @@ end function PythonPlot.plot(f::HealpixMap; kwargs...) pyimport("healpy").projview( - collect(f.arr); + pyimport("numpy").array(Array(f.arr)); cmap = "RdBu_r", graticule = true, graticule_labels = true,