Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
[WIP] API: remove unused attribute on Annotation#7445
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
@@ -2366,8 +2359,6 @@ def get_window_extent(self, renderer=None): | |||
text_bbox = Text.get_window_extent(self, renderer=renderer) | |||
bboxes = [text_bbox] | |||
if self.arrow is not None: | |||
bboxes.append(arrow.get_window_extent(renderer=renderer)) | |||
elif self.arrow_patch 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.
elif
->if
I think there is a need for a deprecation cycle here. We are removing a public attribute. |
This dates back more than a year, to#4178, so the Given that the The actual user-facing API change in#4178 is documented in the 1.5 API changes doc section. Presumably this was in a subsequent PR. |
Replaced by#10818. |
Pretty sure this is fall out from@efiring cleaning up the arrow handling in annotation to always use the fancy arrows.
Definitely needs docs, might need deprecation cycle.
Posting this due to almost losing a whole pile of stashes today.