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
map.draw_rectangle API is inconsistent with submap #3325
Comments
This will need careful API deprecation |
What's the best way to go about this? Do we support an extra kwarg ( |
Or do we add a new method altogether with this new syntax and then add a deprecation warning to |
I was thinking this one. I quite like the name |
So, from what i get, we need to add a parameter |
I assume we would want to unify the API for both functions using submap API's. |
In other words, create the rectangle as is done in |
Yeah but raise warnings if they use the old keywords that they will be removed in future. |
Looking at the checks that my PR is failing, I think I'd need some assistance in cleaning this up. 😅 |
Please try to keep PR problems to the PR and not the original issue. |
Ok. Will keep that in mind 👍 |
submap uses top right and bottom left and draw rectangle uses bottom right width and height. This is stupid.
This is especially stupid as it prevents you from plotting a rectangle in the coordinates of one image over another.
The text was updated successfully, but these errors were encountered: