Permalink
Browse files

Add note regarding use of LogNorm with hist2d

  • Loading branch information...
1 parent 267b0cf commit 4e82fa88aed8088aef1a621010fe7482c10f70f8 @bgamari committed Aug 22, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 lib/matplotlib/axes.py
View
@@ -8077,7 +8077,11 @@ def hist2d(self, x, y, bins = 10, range=None, normed=False, weights=None,
All bins that has count more than cmax will not be displayed (set to none before passing to imshow)
and these count values in the return value count histogram will also be set to nan upon return
- Remaining keyword arguments are passed directly to :meth:pcolorfast
+ Remaining keyword arguments are passed directly to :meth:`pcolorfast`.
+
+ Rendering the histogram with a logarithmic color scale is
+ accomplished by passing a :class:`colors.LogNorm` instance to
+ the *norm* keyword argument.
**Example:**

0 comments on commit 4e82fa8

Please sign in to comment.