File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -556,7 +556,7 @@ def rotated(self, radians):
556
556
corners = self .corners ()
557
557
corners_rotated = Affine2D ().rotate (radians ).transform (corners )
558
558
bbox = Bbox .unit ()
559
- bbox .update_from_data (corners_rotated , ignore = True )
559
+ bbox .update_from_data_xy (corners_rotated , ignore = True )
560
560
return bbox
561
561
562
562
#@staticmethod
@@ -649,7 +649,8 @@ def __repr__(self):
649
649
def ignore (self , value ):
650
650
"""
651
651
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.
653
654
654
655
value: When True, subsequent calls to update_from_data will
655
656
ignore the existing bounds of the Bbox.
You can’t perform that action at this time.
0 commit comments