Skip to content

Commit 99a0960

Browse files
authored
Merge pull request #19378 from smartlixx/change_ax_indicate_inset_label
Modify indicate_inset default label value
2 parents ed25adc + b0a1379 commit 99a0960

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/axes/_axes.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ def indicate_inset(self, bounds, inset_ax=None, *, transform=None,
417417

418418
if transform is None:
419419
transform = self.transData
420-
kwargs.setdefault('label', 'indicate_inset')
420+
kwargs.setdefault('label', '_indicate_inset')
421421

422422
x, y, width, height = bounds
423423
rectangle_patch = mpatches.Rectangle(

0 commit comments

Comments
 (0)