Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions ultraplot/axes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -2889,10 +2889,10 @@ def _update_outer_abc_loc(self, loc):
# Get the size of tick labels if they exist
has_labels = True if axis.get_ticklabels() else False
# Estimate label size; note it uses the raw text representation which can be misleading due to the latex processing
if has_labels:
if has_labels and axis.get_ticklabels():
_offset = max(
[
len(l.get_text()) + l.get_fontsize()
len(l.get_text()) * l.get_fontsize() * 0.6
for l in axis.get_ticklabels()
]
)
Expand Down
Loading