Commit 9974ac4e authored by Martin Reinecke's avatar Martin Reinecke
Browse files

Merge branch 'hp_LogNorm' into 'NIFTy_6'

added norm keyword argument for healpix plots

See merge request !442
parents 8e49ad0a 027daa0f
Pipeline #72456 passed with stages
in 19 minutes and 56 seconds
...@@ -412,7 +412,7 @@ def _plot2D(f, ax, **kwargs): ...@@ -412,7 +412,7 @@ def _plot2D(f, ax, **kwargs):
if have_rgb: if have_rgb:
plt.imshow(res, origin="lower") plt.imshow(res, origin="lower")
else: else:
plt.imshow(res, vmin=kwargs.get("zmin"), vmax=kwargs.get("zmax"), plt.imshow(res, vmin=kwargs.get("zmin"), vmax=kwargs.get("zmax"), norm=norm.get('norm'),
cmap=cmap, origin="lower") cmap=cmap, origin="lower")
plt.colorbar(orientation="horizontal") plt.colorbar(orientation="horizontal")
return return
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment