-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Remove APIs deprecated in mpl3.0. #14244
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
Conversation
fb5e6c6
to
0481712
Compare
@@ -4457,13 +4457,6 @@ def scatter(self, x, y, s=None, c=None, marker=None, cmap=None, norm=None, | |||
|
|||
scales = s # Renamed for readability below. | |||
|
|||
# to be API compatible | |||
if verts is not None: |
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.
verts
should be be removed from the method signature. Unfortunately, strictly speaking this would be a breaking change again because you change the position of edgecolors
. But nevertheless I think that's what we should do - and since edgecolors
is changing its position anyway, you can move the kwonly marker *
before it.
The alternative would be to keep verts
and raise a TypeError here.
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.
I added a _delete_parameter
on verts
. Sure, that'll take two more minor versions before removing it from the signature, but heh, there's no urgency either...
"simultaneously. " | ||
"Please only use 'density', since 'normed'" | ||
"is deprecated.") | ||
if normed is not None: |
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.
remove normed
from signature.
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.
thanks, fixed
317f39b
to
dea307f
Compare
dea307f
to
4930fbc
Compare
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.
Thank you.
PR Summary
PR Checklist