-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Cleaned up the span_where class method from Polycollections. #26874
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
lib/matplotlib/collections.py
Outdated
"the compressed values is deprecated. " | ||
"Pass the full 2D shape of the original array " | ||
f"{prev_unmask.shape} including the masked elements.") | ||
"the compressed values is deprecated. " |
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.
Were these changes intentional?
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.
The pep8 linter fixed the sapcings.
Linting shows that there is a little more fallout from this removal:
|
Sorry, there is one more remaining instance in the docs at |
yayy! finally the build passed. 👯 |
@@ -221,7 +221,6 @@ Added size related functions to specialized `.Collection`\s | |||
Added the ``get_size`` and ``set_size`` functions to control the size of | |||
elements of specialized collections ( | |||
:class:`~matplotlib.collections.AsteriskPolygonCollection` | |||
:class:`~matplotlib.collections.BrokenBarHCollection` |
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.
This shouldn't be removed from old docs, even though it doesn't exist any more, because it's a historical reflection of "what's new in 1.4". Mark it as code style instead:
:class:`~matplotlib.collections.BrokenBarHCollection` | |
``matplotlib.collections.BrokenBarHCollection`` |
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.
If you are comfortable rebasing and squashing this down to one commit, please do so. Otherwise, I suggest the person who merges do so.
PR summary
This PR removes the deprecated code during the version 3.7 from lib/matplotlib/collection.py which is a sub issue in the parent issues here: #26865
PR checklist