Commit a4a457c0 authored by Reimar Leike's avatar Reimar Leike
Browse files

added norm keyword argument for healpix plots

parent 8e49ad0a
Pipeline #72439 failed with stages
in 24 minutes and 33 seconds
......@@ -412,7 +412,7 @@ def _plot2D(f, ax, **kwargs):
if have_rgb:
plt.imshow(res, origin="lower")
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['norm'],
cmap=cmap, origin="lower")
plt.colorbar(orientation="horizontal")
return
......
Markdown is supported
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