8000 Merge pull request #9376 from wjmallard/fix-docstring-typo · matplotlib/matplotlib@b303622 · GitHub
[go: up one dir, main page]

Skip to content

Commit b303622

Browse files
anntzertacaswell
authored andcommitted
Merge pull request #9376 from wjmallard/fix-docstring-typo
Fix docstring typo in Rectangle, Ellipse, and Spine.
1 parent f4ff1da commit b303622

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/matplotlib/patches.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ def get_path(self):
705705
def _update_patch_transform(self):
706706
"""NOTE: This cannot be called until after this has been added
707707
to an Axes, otherwise unit conversion will fail. This
708-
maxes it very important to call the accessor method and
708+
makes it very important to call the accessor method and
709709
not directly access the transformation member variable.
710710
"""
711711
x = self.convert_xunits(self._x)
@@ -1465,7 +1465,7 @@ def __init__(self, xy, width, height, angle=0.0, **kwargs):
14651465
def _recompute_transform(self):
14661466
"""NOTE: This cannot be called until after this has been added
14671467
to an Axes, otherwise unit conversion will fail. This
1468-
maxes it very important to call the accessor method and
1468+
makes it very important to call the accessor method and
14691469
not directly access the transformation member variable.
14701470
"""
14711471
center = (self.convert_xunits(self.center[0]),

lib/matplotlib/spines.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def set_patch_line(self):
136136
def _recompute_transform(self):
137137
"""NOTE: This cannot be called until after this has been added
138138
to an Axes, otherwise unit conversion will fail. This
139-
maxes it very important to call the accessor method and
139+
makes it very important to call the accessor method and
140140
not directly access the transformation member variable.
141141
"""
142142
assert self._patch_type in ('arc', 'circle')

0 commit comments

Comments
 (0)
0