@@ -1042,9 +1042,10 @@ def clip_to_bbox(self, bbox, inside=True):
1042
1042
def get_path_collection_extents (
1043
1043
master_transform , paths , transforms , offsets , offset_transform ):
1044
1044
r"""
1045
- Given a sequence of `Path`\s, `.Transform`\s objects, and offsets, as
1046
- found in a `.PathCollection`, returns the bounding box that encapsulates
1047
- all of them.
1045
+ Get bounding box of a `.PathCollection`\s internal objects.
1046
+
1047
+ That is, given a sequence of `Path`\s, `.Transform`\s objects, and offsets, as found
1048
+ in a `.PathCollection`, return the bounding box that encapsulates all of them.
1048
1049
1049
1050
Parameters
1050
1051
----------
@@ -1058,12 +1059,14 @@ def get_path_collection_extents(
1058
1059
1059
1060
Notes
1060
1061
-----
1061
- The way that *paths*, *transforms* and *offsets* are combined
1062
- follows the same method as for collections: Each is iterated over
1063
- independently, so if you have 3 paths, 2 transforms and 1 offset,
1064
- their combinations are as follows:
1065
-
1066
- (A, A, A), (B, B, A), (C, A, A)
1062
+ The way that *paths*, *transforms* and *offsets* are combined follows the same
1063
+ method as for collections: each is iterated over independently, so if you have 3
1064
+ paths (A, B, C), 2 transforms (α, β) and 1 offset (O), their combinations are as
1065
+ follows:
1066
+
1067
+ - (A, α, O)
1068
+ - (B, β, O)
1069
+ - (C, α, O)
1067
1070
"""
1068
1071
from .transforms import Bbox
1069
1072
if len (paths ) == 0 :
0 commit comments