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

Skip to content

Commit 736eb57

Browse files
committed
fix lints
1 parent 919332f commit 736eb57

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/artist.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ def get_in_layout(self):
820820
def get_in_autoscale(self):
821821
"""
822822
Return boolean flag, ``True`` if artist is included in autoscale
823-
calculations.
823+
calculations.
824824
"""
825825
return self._in_autoscale
826826

lib/matplotlib/tests/test_artist.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ def test_line_in_autoscale_false():
304304
ax.plot([0, 1, 2, 3], in_autoscale=False)
305305
ax.margins(0)
306306
ax.autoscale_view()
307-
assert ax.get_xlim() == ax.get_ylim() == (0, 1) # The default limits.
307+
assert ax.get_xlim() == ax.get_ylim() == (0, 1) # The default limits.
308308

309309

310310
def test_patch_in_autoscale_true():
@@ -326,4 +326,4 @@ def test_patch_in_autoscale_false():
326326
ax.margins(0)
327327
ax.autoscale_view()
328328
assert ax.get_xlim() == (0, 1)
329-
assert ax.get_ylim() == (0, 1)
329+
assert ax.get_ylim() == (0, 1)

0 commit comments

Comments
 (0)