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

Skip to content

Commit 538da87

Browse files
committed
Fixed pep8 violations in test case
1 parent 0808634 commit 538da87

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/tests/test_legend.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,8 +362,9 @@ def test_handler_numpoints():
362362

363363

364364
def test_shadow_framealpha():
365-
'''Test if framealpha is activated when shadow is True and framealpha is not explicitly passed'''
365+
# Test if framealpha is activated when shadow is True
366+
# and framealpha is not explicitly passed'''
366367
fig, ax = plt.subplots()
367-
ax.plot(range(100),label="test")
368+
ax.plot(range(100), label="test")
368369
leg = ax.legend(shadow=True, facecolor='w')
369370
assert leg.framealpha == 1

0 commit comments

Comments
 (0)