#NEWLINE# def attr_measurement( self , attr_name ) : #NEWLINE# #INDENT# 'Detect if the attribute has been given measurement columns.' #NEWLINE# cols = self . attributes [ attr_name ] . columns #NEWLINE# return ( ( cols is not None ) and ( ( cols == self . y . selection ) or ( cols == self . x . selection ) ) )