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 2de8089

Browse filesBrowse files
committed
Fix PEP8 errors
1 parent 74f6526 commit 2de8089
Copy full SHA for 2de8089

File tree

Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed

‎lib/matplotlib/axes/_base.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_base.py
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def __init__(self, fig, rect,
528528

529529
self._connected = {} # a dict from events to (id, func)
530530
try:
531-
self.cla(clear_axis=False) # new xaxis and yaxis are already cleared
531+
self.cla(clear_axis=False) # new xaxis, yaxis are already cleared
532532
except TypeError:
533533
self.cla() # For Axes subclasses lacking clear_axis argument.
534534

@@ -1088,7 +1088,6 @@ def cla(self, clear_axis=True):
10881088
self.xaxis.reset_ticks()
10891089
self.yaxis.reset_ticks()
10901090

1091-
10921091
self.stale = True
10931092

10941093
@cbook.deprecated("2.1", alternative="Axes.patch")
@@ -1272,7 +1271,7 @@ def set_aspect(self, aspect, adjustable=None, anchor=None, share=False):
12721271

12731272
if adjustable is None:
12741273
adjustable = self._adjustable
1275-
self.set_adjustable(adjustable, share=share) # Always call this to handle sharing.
1274+
self.set_adjustable(adjustable, share=share) # Handle sharing.
12761275

12771276
if anchor is not None:
12781277
self.set_anchor(anchor)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.