Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0808634 commit 538da87Copy full SHA for 538da87
lib/matplotlib/tests/test_legend.py
@@ -362,8 +362,9 @@ def test_handler_numpoints():
362
363
364
def test_shadow_framealpha():
365
- '''Test if framealpha is activated when shadow is True and framealpha is not explicitly passed'''
+ # Test if framealpha is activated when shadow is True
366
+ # and framealpha is not explicitly passed'''
367
fig, ax = plt.subplots()
- ax.plot(range(100),label="test")
368
+ ax.plot(range(100), label="test")
369
leg = ax.legend(shadow=True, facecolor='w')
370
assert leg.framealpha == 1
0 commit comments