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

Skip to content

Commit 702aeda

Browse files
authored
Merge pull request #28710 from rcomer/patch-alpha
DOC: clarify alpha handling for indicate_inset[_zoom]
2 parents 50c6717 + 6d4e601 commit 702aeda

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/matplotlib/axes/_axes.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -452,8 +452,10 @@ def indicate_inset(self, bounds, inset_ax=None, *, transform=None,
452452
edgecolor : :mpltype:`color`, default: '0.5'
453453
Color of the rectangle and color of the connecting lines.
454454
455-
alpha : float, default: 0.5
456-
Transparency of the rectangle and connector lines.
455+
alpha : float or None, default: 0.5
456+
Transparency of the rectangle and connector lines. If not
457+
``None``, this overrides any alpha value included in the
458+
*facecolor* and *edgecolor* parameters.
457459
458460
zorder : float, default: 4.99
459461
Drawing order of the rectangle and connector lines. The default,

0 commit comments

Comments
 (0)