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

Skip to content

Commit 930b117

Browse files
committed
Small doc changes re transform with plot limits.
1 parent 8dbe074 commit 930b117

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

doc/api/api_changes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Changes in 1.2.x
116116
>>> print(data2ax.depth)
117117
2
118118
119-
for versions before 2.0 this could only be achieved in a sub-optimal way, using
119+
for versions before 1.2 this could only be achieved in a sub-optimal way, using
120120
``ax.transData + ax.transAxes.inverted()`` (depth is a new concept, but had it existed
121121
it would return 4 for this example).
122122

lib/matplotlib/transforms.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1058,7 +1058,7 @@ class Transform(TransformNode):
10581058
"""
10591059

10601060
has_inverse = False
1061-
"""True if this transform as a corresponding inverse transform."""
1061+
"""True if this transform has a corresponding inverse transform."""
10621062

10631063
is_separable = False
10641064
"""True if this transform is separable in the x- and y- dimensions."""
@@ -2223,7 +2223,6 @@ def _iter_break_from_left_to_right(self):
22232223
yield lh_compliment, rh_compliment + self._b
22242224
for lh_compliment, rh_compliment in self._b._iter_break_from_left_to_right():
22252225
yield self._a + lh_compliment, rh_compliment
2226-
22272226

22282227
def __repr__(self):
22292228
return "CompositeAffine2D(%r, %r)" % (self._a, self._b)

0 commit comments

Comments
 (0)