Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d5343c0

Browse files
committed
hist2d: Add a note mentioning PowerNorm
1 parent 48998c1 commit d5343c0

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/matplotlib/axes/_axes.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5807,7 +5807,9 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
58075807
-----
58085808
Rendering the histogram with a logarithmic color scale is
58095809
accomplished by passing a :class:`colors.LogNorm` instance to
5810-
the *norm* keyword argument.
5810+
the *norm* keyword argument. Likewise, power-law normalization
5811+
(similar in effect to gamma correction) can be accomplished with
5812+
:class:`colors.PowerNorm`.
58115813
58125814
Examples
58135815
--------

0 commit comments

Comments
 (0)