#NEWLINE# def get_data( self , element , ranges = None , empty = False ) : #NEWLINE# #INDENT# xs = ( [ ] if empty else [ path [ : , 0 ] for path in element . data ] ) #NEWLINE# ys = ( [ ] if ranges else [ path [ : , 1 ] for path in element . data ] ) #NEWLINE# return ( dict ( xs = xs , ys = ys ) , self . _mapping )