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

Skip to content

Commit 755d9c8

Browse files
committed
Added lines to lib/matplotlib/axes/_axes.py to account
for ignoring framealpha default value if shadow is activated.
1 parent 569c4f5 commit 755d9c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -429,6 +429,8 @@ def legend(self, *args, **kwargs):
429429
Control the alpha transparency of the legend's background.
430430
Default is ``None`` which will take the value from the
431431
``legend.framealpha`` :data:`rcParam<matplotlib.rcParams>`.
432+
If shadow is activated and framealpha is ``None`` the
433+
default value is being ignored.
432434
433435
facecolor : None or "inherit" or a color spec
434436
Control the legend's background color.

0 commit comments

Comments
 (0)