-
Notifications
You must be signed in to change notification settings - Fork 17
Donut-MultiPolygons are now correctly rendered again #334
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
Donut-MultiPolygons are now correctly rendered again #334
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #334 +/- ##
==========================================
+ Coverage 79.26% 84.60% +5.33%
==========================================
Files 11 8 -3
Lines 1799 1559 -240
==========================================
- Hits 1426 1319 -107
+ Misses 373 240 -133
|
for more information, see https://pre-commit.ci
src/spatialdata_plot/pl/utils.py
Outdated
import matplotlib.patches | ||
import matplotlib.patches as mpatches | ||
import matplotlib.patches as mplp |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any particular reason why we need all 3 lines? @timtreis
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No 🥸
The extent of the circle is not "perfect", but that's because back then when we first made the plot, we were still doing the extent-calculations "in-house". Now they've been ported upstream so we have no control over them anymore.

(also deleting two unused functions)