bugfix line 368
I believe the second pop should be "vmax" rather than "vmin"
@@ -365,7 +365,7 @@ class WcsNDMap(WcsMap):
mask = np.isfinite(data)
if mask.any():
- min_cut, max_cut = kwargs.pop("vmin", None), kwargs.pop("vmin", None)
+ min_cut, max_cut = kwargs.pop("vmin", None), kwargs.pop("vmax", None)
norm = simple_norm(data[mask], stretch, min_cut=min_cut, max_cut=max_cut)
kwargs.setdefault("norm", norm)
