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

Skip to content

Commit ddbbf92

Browse files
committed
update documentation
1 parent 2ab3eb9 commit ddbbf92

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/matplotlib/axes.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7966,7 +7966,7 @@ def hist2d(self, x, y, bins = 10, range=None, weights=None, cmin=None, cmax=None
79667966
All bins that has count more than cmax will not be displayed (set to none before passing to imshow)
79677967
and these count values in the return value count histogram will also be set to nan upon return
79687968
7969-
Remaining keyword arguments are passed directly to :meth:imshow
7969+
Remaining keyword arguments are passed directly to :meth:pcolorfast
79707970
79717971
**Example:**
79727972
@@ -7981,11 +7981,11 @@ def hist2d(self, x, y, bins = 10, range=None, weights=None, cmin=None, cmax=None
79817981
if cmin is not None: h[h<cmin]=None
79827982
if cmax is not None: h[h>cmax]=None
79837983

7984-
im = self.pcolorfast(xedges,yedges,h.T,**kwargs)
7984+
pc = self.pcolorfast(xedges,yedges,h.T,**kwargs)
79857985
self.set_xlim(xedges[0],xedges[-1])
79867986
self.set_ylim(yedges[0],yedges[-1])
79877987

7988-
return h,xedges,yedges,im
7988+
return h,xedges,yedges,pc
79897989

79907990
@docstring.dedent_interpd
79917991
def psd(self, x, NFFT=256, Fs=2, Fc=0, detrend=mlab.detrend_none,

0 commit comments

Comments
 (0)