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

Skip to content
Merged
Prev Previous commit
Next Next commit
Small doc changes re transform with plot limits.
  • Loading branch information
pelson committed Aug 20, 2012
commit 930b1173e1983af9bcf6eb7ac4e9642d19d5f626
2 changes: 1 addition & 1 deletion doc/api/api_changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Changes in 1.2.x
>>> print(data2ax.depth)
2

for versions before 2.0 this could only be achieved in a sub-optimal way, using
for versions before 1.2 this could only be achieved in a sub-optimal way, using
``ax.transData + ax.transAxes.inverted()`` (depth is a new concept, but had it existed
it would return 4 for this example).

Expand Down
3 changes: 1 addition & 2 deletions lib/matplotlib/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -1058,7 +1058,7 @@ class Transform(TransformNode):
"""

has_inverse = False
"""True if this transform as a corresponding inverse transform."""
"""True if this transform has a corresponding inverse transform."""

is_separable = False
"""True if this transform is separable in the x- and y- dimensions."""
Expand Down Expand Up @@ -2223,7 +2223,6 @@ def _iter_break_from_left_to_right(self):
yield lh_compliment, rh_compliment + self._b
for lh_compliment, rh_compliment in self._b._iter_break_from_left_to_right():
yield self._a + lh_compliment, rh_compliment


def __repr__(self):
return "CompositeAffine2D(%r, %r)" % (self._a, self._b)
Expand Down