From 2d538912339eaceb229f65e6a70d8fcd7b96324a Mon Sep 17 00:00:00 2001 From: m-aguena Date: Fri, 27 Sep 2024 18:11:16 +0200 Subject: [PATCH] improve print --- clmm/gcdata.py | 1 + 1 file changed, 1 insertion(+) diff --git a/clmm/gcdata.py b/clmm/gcdata.py index 521b618be..367cdecaf 100644 --- a/clmm/gcdata.py +++ b/clmm/gcdata.py @@ -89,6 +89,7 @@ def _str_pzpdf_info(self): out += " " + str(np.round(self.pzpdf_info.get("zbins"), 2)) np.set_printoptions(**default_cfg) elif out == "quantiles": + np.set_printoptions(formatter={'float': "{0:g}".format}, edgeitems=3, threshold=6) out += " " + str(self.pzpdf_info["quantiles"]) out += " - upacked with zgrid : " + str( self.pzpdf_info["unpack_quantile_zbins_limits"]