-
-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Axis ticks are not aligned by baseline #4115
Copy link
Copy link
Closed as not planned
Labels
backend: pgfstatus: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.Issues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action
Milestone
Metadata
Metadata
Assignees
Labels
backend: pgfstatus: closed as inactiveIssues closed by the "Stale" Github Action. Please comment on any you think should still be open.Issues closed by the "Stale" Github Action. Please comment on any you think should still be open.status: inactiveMarked by the “Stale” Github ActionMarked by the “Stale” Github Action
Hi, it looks like the PGF backend defaults to top-align tick labels without accounting for the height of the letters. This works without problems with the PDF backend, also using Tex to render text does not make a difference.
using this Python code:
... and this Tex document:
produces this:

One possible solution could be to use the baseline alignment with some additional padding depending on the font size.