Thanks to visit codestin.com
Credit goes to github.com

Skip to content

FIX: DPI inconsistency of draggable legend #10469

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
merged 2 commits into from
Feb 16, 2018

Conversation

afvincent
Copy link
Contributor

PR Summary

Fix for #10458 : draggable legend has an inconsistent offset behavior between the DPI value used for display and the DPI value used for saving. This was introduced in 199a87a due to some refactoring that was just a bit too eager. This PR simply reverts the one line that is causing the issue, and fixes some typos in a related docstring. Please see #10458 for more details about the issue (bisect, manual test script, etc.).

As the side remark, this issue was silently introduced because it affects an interactive part of Matplotlib, thus that it is not exercised by the test suite (if I a remember correctly).

PR Checklist

  • Has Pytest style unit tests: no, as this is related to interactive behavior.
  • Code is PEP 8 compliant: fingers crossed 🐑

@afvincent afvincent added this to the v2.2.0 milestone Feb 15, 2018
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.

3 participants