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

Skip to content

Commit 0741f57

Browse files
committed
PEP8 axes._lines was not pep8 compliant
1 parent b96ae45 commit 0741f57

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/matplotlib/axes/_lines.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -382,6 +382,7 @@ def axhspan(ax, ymin, ymax, xmin=0, xmax=1, **kwargs):
382382
ax.autoscale_view(scalex=False)
383383
return p
384384

385+
385386
def axvspan(ax, xmin, xmax, ymin=0, ymax=1, **kwargs):
386387
"""
387388
Add a vertical span (rectangle) across the axes.
@@ -436,5 +437,3 @@ def axvspan(ax, xmin, xmax, ymin=0, ymax=1, **kwargs):
436437
ax.add_patch(p)
437438
ax.autoscale_view(scaley=False)
438439
return p
439-
440-

0 commit comments

Comments
 (0)