Skip to content

Backport PR #12363 on branch v3.0.x #12512

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

jklymak
Copy link
Member

@jklymak jklymak commented Oct 12, 2018

FIX: errors in get_position changes

PR Summary

PR Checklist

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

@@ -321,6 +321,8 @@ def __init__(self, ax, direction):
raise KeyError("direction must be one of left, right, bottom, top")

def __call__(self, renderer):
vl = [self._get_func(ax.get_tightbbox(renderer, False),
ax.bbox) for ax in self._ax_list]
get_func = self._get_func_map[self._direction]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

self._get_func still exists in this branch, so I think this change was not strictly necessary, but it's probably fine.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ha no you were right - I chose the wrong branch for that change ;-)

@jklymak jklymak force-pushed the auto-backport-of-pr-12363-on-v3.0.x branch from 547c5ab to 65bedc5 Compare October 12, 2018 22:51
@QuLogic QuLogic merged commit b8995e0 into matplotlib:v3.0.x Oct 13, 2018
@QuLogic QuLogic added this to the v3.0.x milestone Oct 13, 2018
@jklymak jklymak deleted the auto-backport-of-pr-12363-on-v3.0.x branch October 22, 2018 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants