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

Skip to content

Commit fa85f9b

Browse files
committed
PEP8 fixes
1 parent 3ce4b96 commit fa85f9b

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/matplotlib/axes.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4792,7 +4792,7 @@ def make_iterable(x):
47924792
if orientation == 'vertical':
47934793
self._process_unit_info(xdata=left, ydata=height, kwargs=kwargs)
47944794
if log:
4795-
self.set_yscale('log', nonposy = 'clip')
4795+
self.set_yscale('log', nonposy='clip')
47964796
# size width and bottom according to length of left
47974797
if _bottom is None:
47984798
if self.get_yscale() == 'log':
@@ -4807,7 +4807,7 @@ def make_iterable(x):
48074807
elif orientation == 'horizontal':
48084808
self._process_unit_info(xdata=width, ydata=bottom, kwargs=kwargs)
48094809
if log:
4810-
self.set_xscale('log', nonposx = 'clip')
4810+
self.set_xscale('log', nonposx='clip')
48114811
# size left and height according to length of bottom
48124812
if _left is None:
48134813
if self.get_xscale() == 'log':
@@ -8116,7 +8116,7 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
81168116
if normed:
81178117
db = np.diff(bins)
81188118
m = (m.astype(float) / db) / m.sum()
8119-
if stacked :
8119+
if stacked:
81208120
m += mlast
81218121
mlast[:] = m
81228122
n.append(m)
@@ -8172,10 +8172,10 @@ def hist(self, x, bins=10, range=None, normed=False, weights=None,
81728172
if bottom is None:
81738173
bottom = np.zeros(len(m), np.float)
81748174
if stacked:
8175-
height = m-bottom
8175+
height = m - bottom
81768176
else :
81778177
height = m
8178-
patch = _barfunc(bins[:-1]+boffset, height, width, bottom,
8178+
patch = _barfunc(bins[:-1]+boffset, height, width,
81798179
align='center', log=log,
81808180
color=c, bottom=bottom)
81818181
patches.append(patch)

0 commit comments

Comments
 (0)