-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Use Axes instead of axes core library code #27105
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
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.
Mostly seeps pretty good, a couple that I thought were missed (that I could see in the diff view, did not go digging for more)
And wonder if we should give the same treatment to Figure
, at least when in close proximity to the Axes
that are affected here, as while there is less room for confusion on that one, treating it different to Axes is slightly jarring.
@@ -42,7 +42,7 @@ def on_leave_figure(event): | |||
|
|||
|
|||
fig, axs = plt.subplots(2, 1) | |||
fig.suptitle('mouse hover over figure or axes to trigger events') | |||
fig.suptitle('mouse hover over figure or Axes to trigger events') |
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 know the focus was on axes
vs Axes
, but feels incongruent to leave figure
uncapitalized when Axes
is capitalized
This was the first place I noticed it (because this was the first line in the diff as rendered on GitHub), but that thought did come up in several other files, notably legend.py
and patches.py
, and several other places where figures are referred to in the same manner as Axes
, but the capitalization is different.
Also this is in galleries, fyi.
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.
Moved to #27104.
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.
Lower case figure: See #18707 (comment) and the response #18707 (comment)
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 response is that Figure
may be figure
without ambiguity, not that it must be figure
.
8969106
to
245f5fc
Compare
245f5fc
to
30a6af3
Compare
Part of #18726.