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

Skip to content

Commit d9cb75b

Browse files
committed
Improve hist2d returns doc
1 parent 1c3a02b commit d9cb75b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6508,7 +6508,15 @@ def hist2d(self, x, y, bins=10, range=None, normed=False, weights=None,
65086508
65096509
Returns
65106510
-------
6511-
The return value is ``(counts, xedges, yedges, Image)``.
6511+
h : 2D array
6512+
The bi-dimensional histogram of samples x and y. Values in x are
6513+
histogrammed along the first dimension and values in y are
6514+
histogrammed along the second dimension.
6515+
xedges : 1D array
6516+
The bin edges along the x axis.
6517+
yedges : 1D array
6518+
The bin edges along the y axis.
6519+
image : AxesImage
65126520
65136521
Other Parameters
65146522
----------------

0 commit comments

Comments
 (0)