8000 Add note regarding use of LogNorm with hist2d · matplotlib/matplotlib@4e82fa8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4e82fa8

Browse files
committed
Add note regarding use of LogNorm with hist2d
1 parent 267b0cf commit 4e82fa8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/matplotlib/axes.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8077,7 +8077,11 @@ def hist2d(self, x, y, bins = 10, range=None, normed=False, weights=None,
80778077
All bins that has count more than cmax will not be displayed (set to none before passing to imshow)
80788078
and these count values in the return value count histogram will also be set to nan upon return
80798079
8080-
Remaining keyword arguments are passed directly to :meth:pcolorfast
8080+
Remaining keyword arguments are passed directly to :meth:`pcolorfast`.
8081+
8082+
Rendering the histogram with a logarithmic color scale is
8083+
accomplished by passing a :class:`colors.LogNorm` instance to
8084+
the *norm* keyword argument.
80818085
80828086
**Example:**
80838087

0 commit comments

Comments
 (0)
0