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

Skip to content

Commit 85a0071

Browse files
committed
Pass bbox_to_anchor and bbox_transform from zoomed_inset_axes to AnchoredZoomLocator
1 parent 2da9d8f commit 85a0071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mpl_toolkits/axes_grid1/inset_locator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ def zoomed_inset_axes(parent_axes, zoom, loc=1,
309309
**axes_kwargs)
310310

311311
axes_locator = AnchoredZoomLocator(parent_axes, zoom=zoom, loc=loc,
312-
bbox_to_anchor=None, bbox_transform=None,
312+
bbox_to_anchor=bbox_to_anchor, bbox_transform=bbox_transform,
313313
**kwargs)
314314
inset_axes.set_axes_locator(axes_locator)
315315

0 commit comments

Comments
 (0)