Skip to content

Commit

Permalink
improve print
Browse files Browse the repository at this point in the history
  • Loading branch information
m-aguena committed Sep 27, 2024
1 parent 7a07389 commit 2d53891
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clmm/gcdata.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 2d53891

Please sign in to comment.