8000 Minor fixes. · danielballan/matplotlib@958c6b3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 958c6b3

Browse files
committed
Minor fixes.
svn path=/branches/transforms/; revision=4495
1 parent b00844a commit 958c6b3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/matplotlib/transforms.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ def rotated(self, radians):
556556
corners = self.corners()
557557
corners_rotated = Affine2D().rotate(radians).transform(corners)
558558
bbox = Bbox.unit()
559-
bbox.update_from_data(corners_rotated, ignore=True)
559+
bbox.update_from_data_xy(corners_rotated, ignore=True)
560560
return bbox
561561

562562
#@staticmethod
@@ -649,7 +649,8 @@ def __repr__(self):
649649
def ignore(self, value):
650650
"""
651651
Set whether the existing bounds of the box should be ignored
652-
by subsequent calls to update_from_data.
652+
by subsequent calls to update_from_data or
653+
update_from_data_xy.
653654
654655
value: When True, subsequent calls to update_from_data will
655656
ignore the existing bounds of the Bbox.

0 commit comments

Comments
 (0)
0