Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Correct minor typos in legend.py and autoscale.py #20007

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

Merged
merged 1 commit into from
Apr 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/matplotlib/legend.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ def _init_legend_box(self, handles, labels, markerfirst=True):
# legend items. Each legend item is HPacker packed with
# legend handleBox and labelBox. handleBox is an instance of
# offsetbox.DrawingArea which contains legend handle. labelBox
# is an instance of offsetbox. TextArea which contains legend
# is an instance of offsetbox.TextArea which contains legend
# text.

text_list = [] # the list of text instances
Expand Down
2 changes: 1 addition & 1 deletion tutorials/intermediate/autoscale.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
# `~matplotlib.axes.Axes.use_sticky_edges`.
# Artists have a property `.Artist.sticky_edges`, and the values of
# sticky edges can be changed by writing to ``Artist.sticky_edges.x`` or
# ``.Artist.sticky_edges.y``.
# ``Artist.sticky_edges.y``.
#
# The following example shows how overriding works and when it is needed.

Expand Down