We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2ab91a commit 508c78cCopy full SHA for 508c78c
examples/axes_grid1/inset_locator_demo.py
@@ -31,7 +31,7 @@ def add_sizebar(ax, size):
31
# second subplot
32
ax2.set_aspect(1.)
33
34
-axins = zoomed_inset_axes(ax2, 0.5, loc=1) # zoom = 0.5
+axins = zoomed_inset_axes(ax2, 0.5, loc='upper right') # zoom = 0.5
35
# fix the number of ticks on the inset axes
36
axins.yaxis.get_major_locator().set_params(nbins=7)
37
axins.xaxis.get_major_locator().set_params(nbins=7)
0 commit comments