def position_scales(self):
        """
        Return a list of the position scales that are present
        """
        l = [s for s in self
             if ('x' in s.aesthetics) or ('y' in s.aesthetics)]
        return Scales(l)
def position_scales ( self ) : l = [ s for s in self if ( 'x' in s . aesthetics ) or ( 'y' in s . aesthetics ) ] return Scales ( l )
Return a list of the position scales that are present