Skip to content

Commit 36f00b6

Browse files
committed
Fix #68
1 parent bcb4693 commit 36f00b6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/marsilea/layout.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -461,8 +461,8 @@ def get_main_anchor(self):
461461
y = self.get_side_size("bottom")
462462
if self.is_composite:
463463
return x, y
464-
x += self.margin.bottom
465-
y += self.margin.left
464+
x += self.margin.left
465+
y += self.margin.bottom
466466
return x, y
467467
else:
468468
return self.anchor
@@ -550,7 +550,9 @@ def initiate_axes(self, figure, _debug=False):
550550
c.set_ax(axes)
551551
else:
552552
ax_rect = c.get_rect()
553+
print(ax_rect)
553554
ax_rect = get_axes_rect(ax_rect, figsize)
555+
print(ax_rect)
554556
ax = figure.add_axes(ax_rect, projection=c.projection)
555557
c.set_ax(ax)
556558
if _debug:

0 commit comments

Comments
 (0)