8000 fixed comment white space pep8 · matplotlib/matplotlib@2f10291 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2f10291

Browse files
committed
fixed comment white space pep8
1 parent 0722bc3 commit 2f10291

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5439,7 +5439,8 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
54395439
xmax = self.dataLim.intervalx[1]
54405440
for m in n:
54415441
if np.sum(m) > 0: # make sure there are counts
5442-
xmin = np.amin(m[m != 0]) # filter out the 0 height bins
5442+
xmin = np.amin(m[m != 0])
5443+
# filter out the 0 height bins
54435444
xmin = max(xmin*0.9, minimum)
54445445
xmin = min(xmin0, xmin)
54455446
self.dataLim.intervalx = (xmin, xmax)
@@ -5448,7 +5449,8 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
54485449
ymax = self.dataLim.intervaly[1]
54495450
for m in n:
54505451
if np.sum(m) > 0: # make sure there are counts
5451-
ymin = np.amin(m[m != 0]) # filter out the 0 height bins
5452+
ymin = np.amin(m[m != 0])
5453+
# filter out the 0 height bins
54525454
ymin = max(ymin*0.9, minimum)
54535455
ymin = min(ymin0, ymin)
54545456
self.dataLim.intervaly = (ymin, ymax)

0 commit comments

Comments
 (0)
0