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

Skip to content

Commit 23983ae

Browse files
authored
Merge pull request #20007 from smartlixx/FIX-minor-docs-typos
Correct minor typos in legend.py and autoscale.py
2 parents 0966bf8 + c6e142f commit 23983ae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/matplotlib/legend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,7 +735,7 @@ def _init_legend_box(self, handles, labels, markerfirst=True):
735735
# legend items. Each legend item is HPacker packed with
736736
# legend handleBox and labelBox. handleBox is an instance of
737737
# offsetbox.DrawingArea which contains legend handle. labelBox
738-
# is an instance of offsetbox. TextArea which contains legend
738+
# is an instance of offsetbox.TextArea which contains legend
739739
# text.
740740

741741
text_list = [] # the list of text instances

tutorials/intermediate/autoscale.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
# `~matplotlib.axes.Axes.use_sticky_edges`.
7272
# Artists have a property `.Artist.sticky_edges`, and the values of
7373
# sticky edges can be changed by writing to ``Artist.sticky_edges.x`` or
74-
# ``.Artist.sticky_edges.y``.
74+
# ``Artist.sticky_edges.y``.
7575
#
7676
# The following example shows how overriding works and when it is needed.
7777

0 commit comments

Comments
 (0)