Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6d4e601

Browse filesBrowse files
committed
DOC: clarify alpha handling for indicate_inset[_zoom]
1 parent 1e98377 commit 6d4e601
Copy full SHA for 6d4e601

File tree

1 file changed

+4
-2
lines changed
Filter options

1 file changed

+4
-2
lines changed

‎lib/matplotlib/axes/_axes.py

Copy file name to clipboardExpand all lines: lib/matplotlib/axes/_axes.py
+4-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.