def get_paths_extents(paths, transforms=[]):
 from .transforms import Bbox, Affine2D
 if (len(paths) == 0):
  raise ValueError(u'No paths provided')
 return Bbox.from_extents(*_path.get_path_collection_extents(Affine2D(), paths, transforms, [], Affine2D()))

def get_paths_extents ( paths , transforms = [ ] ) : from . transforms import Bbox , Affine2D if ( len ( paths ) == 0 ) : raise ValueError ( u'No paths provided' ) return Bbox . from_extents ( * _path . get_path_collection_extents ( Affine2D ( ) , paths , transforms , [ ] , Affine2D ( ) ) )
given a sequence of :class:path objects and optional :class:~matplotlib .