@@ -2590,14 +2590,14 @@ class ConnectionStyle(_Style):
2590
2590
2591
2591
class _Base (object ):
2592
2592
"""
2593
- A base class for connectionstyle classes. The dervided needs
2594
- to implement a *connect* methods whose call signature is::
2593
+ A base class for connectionstyle classes. The subclass needs
2594
+ to implement a *connect* method whose call signature is::
2595
2595
2596
25
10000
96
connect(posA, posB)
2597
2597
2598
2598
where posA and posB are tuples of x, y coordinates to be
2599
- connected. The methods needs to return a path connecting two
2600
- points. This base class defines a __call__ method, and few
2599
+ connected. The method needs to return a path connecting two
2600
+ points. This base class defines a __call__ method, and a few
2601
2601
helper methods.
2602
2602
"""
2603
2603
@@ -2681,7 +2681,7 @@ def __call__(self, posA, posB,
2681
2681
return shrinked_path
2682
2682
2683
2683
def __reduce__ (self ):
2684
- # because we have decided to nest thes classes, we need to
2684
+ # because we have decided to nest these classes, we need to
2685
2685
# add some more information to allow instance pickling.
2686
2686
import matplotlib .cbook as cbook
2687
2687
return (cbook ._NestedClassGetter (),
@@ -2926,7 +2926,7 @@ def connect(self, posA, posB):
2926
2926
class Bar (_Base ):
2927
2927
"""
2928
2928
A line with *angle* between A and B with *armA* and
2929
- *armB*. One of the arm is extend so that they are connected in
2929
+ *armB*. One of the arms is extended so that they are connected in
2930
2930
a right angle. The length of armA is determined by (*armA*
2931
2931
+ *fraction* x AB distance). Same for armB.
2932
2932
"""
@@ -3897,7 +3897,7 @@ def __init__(self, posA=None, posB=None,
3897
3897
"""
3898
3898
If *posA* and *posB* is given, a path connecting two point are
3899
3899
created according to the connectionstyle. The path will be
3900
- clipped with *patchA* and *patchB* and further shirnked by
3900
+ clipped with *patchA* and *patchB* and further shrinked by
3901
3901
*shrinkA* and *shrinkB*. An arrow is drawn along this
3902
3902
resulting path using the *arrowstyle* parameter. If *path*
3903
3903
provided, an arrow is drawn along this path and *patchA*,
0 commit comments