@@ -1024,26 +1024,3 @@ def get_paths_extents(paths, transforms=[]):
1024
1024
raise ValueError ("No paths provided" )
1025
1025
return Bbox .from_extents (* _path .get_path_collection_extents (
1026
1026
Affine2D (), paths , transforms , [], Affine2D ()))
1027
-
1028
-
1029
- def _define_deprecated_functions (ns ):
1030
- from .cbook import deprecated
1031
-
1032
- # The C++ functions are not meant to be used directly.
1033
- # Users should use the more pythonic wrappers in the Path
1034
- # class instead.
1035
- for func , alternative in [
1036
- ('point_in_path' , 'path.Path.contains_point' ),
1037
- ('get_path_extents' , 'path.Path.get_extents' ),
1038
- ('point_in_path_collection' , 'collection.Collection.contains' ),
1039
- ('path_in_path' , 'path.Path.contains_path' ),
1040
- ('path_intersects_path' , 'path.Path.intersects_path' ),
1041
- ('convert_path_to_polygons' , 'path.Path.to_polygons' ),
1042
- ('cleanup_path' , 'path.Path.cleaned' ),
1043
- ('points_in_path' , 'path.Path.contains_points' ),
1044
- ('clip_path_to_rect' , 'path.Path.clip_to_bbox' )]:
1045
- ns [func ] = deprecated (
1046
- since = '1.3' , alternative = alternative )(getattr (_path , func ))
1047
-
1048
-
1049
- _define_deprecated_functions (locals ())
0 commit comments