imshow_norm¶
-
astropy.visualization.mpl_normalize.imshow_norm(data, ax=None, imshow_only_kwargs={}, **kwargs)[source]¶ A convenience function to call matplotlib’s
matplotlib.pyplot.imshowfunction, using anImageNormalizeobject as the normalization.Parameters: - data : 2D or 3D array-like - see
imshow The data to show. Can be whatever
imshowandImageNormalizeboth accept.- ax : None or
Axes If None, use pyplot’s imshow. Otherwise, calls
imshowmethod of the supplied axes.- imshow_only_kwargs : dict
Arguments to be passed directly to
imshowwithout first tryingImageNormalize. This is only for keywords that have the same name in bothImageNormalizeandimshow- if you want to set theimshowkeywords only, supply them in this dictionary.- All other keyword arguments are parsed first by the `ImageNormalize`
- initializer, then to`~matplotlib.pyplot.imshow`.
Notes
The
normmatplotlib keyword is not supported.- data : 2D or 3D array-like - see