Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
hist2d: Add a note mentioning PowerNorm
  • Loading branch information
bgamari committed Mar 10, 2014
commit d5343c0aa6b82d6d5741250ba3ee82fba9865351
4 changes: 3 additions & 1 deletion lib/matplotlib/axes/_axes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5807,7 +5807,9 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
-----
Rendering the histogram with a logarithmic color scale is
accomplished by passing a :class:`colors.LogNorm` instance to
the *norm* keyword argument.
the *norm* keyword argument. Likewise, power-law normalization
(similar in effect to gamma correction) can be accomplished with
:class:`colors.PowerNorm`.

Examples
--------
Expand Down