Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fa85f9b

Browse filesBrowse files
committed
PEP8 fixes
1 parent 3ce4b96 commit fa85f9b
Copy full SHA for fa85f9b

File tree

Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-5
lines changed

‎lib/matplotlib/axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes.py
+5-5Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.