diff --git a/lib/matplotlib/axes/_axes.py b/lib/matplotlib/axes/_axes.py index 2c9cc8cc1e9a..598a954f8819 100644 --- a/lib/matplotlib/axes/_axes.py +++ b/lib/matplotlib/axes/_axes.py @@ -452,8 +452,10 @@ def indicate_inset(self, bounds, inset_ax=None, *, transform=None, edgecolor : :mpltype:`color`, default: '0.5' Color of the rectangle and color of the connecting lines. - alpha : float, default: 0.5 - Transparency of the rectangle and connector lines. + alpha : float or None, default: 0.5 + Transparency of the rectangle and connector lines. If not + ``None``, this overrides any alpha value included in the + *facecolor* and *edgecolor* parameters. zorder : float, default: 4.99 Drawing order of the rectangle and connector lines. The default,