Skip to content

Fix broken imports. #15356

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 1 commit into from
Oct 2, 2019
Merged

Fix broken imports. #15356

merged 1 commit into from
Oct 2, 2019

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Oct 1, 2019

PR Summary

... due to #15210 crossing wires with other PRs.

Also needed to revert part of #14845 (cleanup) which exposed some of the issues hinted at in #14694.

will self-merge on CI pass.

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

- Fix broken imports.
- Workaround Arc bug.
@@ -1667,7 +1667,7 @@ def segment_circle_intersect(x0, y0, x1, y1):
# circle in the same way that it is relative to the desired ellipse.
box_path = Path.unit_rectangle()
box_path_transform = (transforms.BboxTransformTo(self.axes.bbox)
- self.get_transform())
+ self.get_transform().inverted())
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is less precise (box_path gets some ~1e-19 errors) but is needed to make Arc work...

@jklymak jklymak added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Oct 1, 2019
@jklymak
Copy link
Member

jklymak commented Oct 1, 2019

Does this need to be back ported to 3.2? Or can we milestone it 3.3?

@anntzer
Copy link
Contributor Author

anntzer commented Oct 1, 2019

#14694 and #15210 are only in 3.3 so it's the same here.

@anntzer anntzer added this to the v3.3.0 milestone Oct 1, 2019
@tacaswell tacaswell merged commit bde67e9 into matplotlib:master Oct 2, 2019
@anntzer anntzer deleted the broken-imports branch October 2, 2019 06:43
tacaswell added a commit to tacaswell/matplotlib that referenced this pull request Jun 17, 2020
Merge pull request matplotlib#17564 from tacaswell/fix_big_arc

FIX: big arc code path
 Conflicts:

	lib/matplotlib/patches.py
         - implicitly backport a change from matplotlib#15356 (from `- trans `
            -> `+ trans.inverted()`)
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants