File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -1048,6 +1048,7 @@ def altx(self, **kwargs):
1048
1048
# because the axes was created after the "parent" one, use the inset_axes
1049
1049
# zorder of 4 and make the background transparent.
1050
1050
kwargs = self ._parse_alt ('x' , ** kwargs )
1051
+ kwargs .setdefault ('yloc' , 'neither' )
1051
1052
kwargs .setdefault ('xloc' , 'top' ) # other locations follow by default
1052
1053
kwargs .setdefault ('grid' , False ) # note xgrid=True would override this
1053
1054
kwargs .setdefault ('zorder' , 4 )
@@ -1076,6 +1077,7 @@ def alty(self, **kwargs):
1076
1077
"""
1077
1078
# Parse input args
1078
1079
kwargs = self ._parse_alt ('y' , ** kwargs )
1080
+ kwargs .setdefault ('xloc' , 'neither' )
1079
1081
kwargs .setdefault ('yloc' , 'right' ) # other locations follow by default
1080
1082
kwargs .setdefault ('grid' , False ) # note ygrid=True would override this
1081
1083
kwargs .setdefault ('zorder' , 4 )
You can’t perform that action at this time.
0 commit comments