Skip to content

Commit 94e090f

Browse files
Copilotcvanelteren
andcommitted
Fix suptitle alignment positioning to use consistent centering behavior
Co-authored-by: cvanelteren <19485143+cvanelteren@users.noreply.github.com>
1 parent 42a493d commit 94e090f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ultraplot/figure.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1579,7 +1579,7 @@ def _align_super_title(self, renderer):
15791579

15801580
# Use original centering algorithm for positioning (regardless of alignment)
15811581
x, _ = self._get_align_coord(
1582-
"top", axs, includepanels=self._includepanels, align=ha
1582+
"top", axs, includepanels=self._includepanels, align="center"
15831583
)
15841584
y = self._get_offset_coord("top", axs, renderer, pad=pad, extra=labs)
15851585

0 commit comments

Comments
 (0)