Skip to content

Conversation

QuLogic
Copy link
Member

@QuLogic QuLogic commented May 2, 2020

PR Summary

This was added in #15592, but with the wrong alignment. When set to show offset text on the top, the alignment is set to top, but that's the same alignment as if it were on the bottom. It should be set to bottom instead, or it will overlap with ticks.

On master, you get:
Figure_1

but it should be (in this PR):
Figure_2

PR Checklist

  • Has Pytest style unit tests
  • Code is Flake 8 compliant
  • [N/A] New features are documented, with examples if plot related
  • [N/A] Documentation is sphinx and numpydoc compliant
  • [N/A] Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • [N/A] Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

@QuLogic QuLogic added this to the v3.3.0 milestone May 2, 2020
@timhoffm timhoffm added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label May 2, 2020
@timhoffm
Copy link
Member

timhoffm commented May 2, 2020

Marking as release-critical because this has been introduced for 3.3 and we'd better start with a non-buggy version right away.

When set to show offset text on the top, the alignment is set to top,
but that's the same alignment as if it were on the bottom. It should be
set to bottom instead, or it will overlap with ticks.
@jklymak jklymak merged commit 4b03583 into matplotlib:master May 4, 2020
@QuLogic QuLogic deleted the top-offsetText branch May 4, 2020 21:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. topic: ticks axis labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants