#NEWLINE# def getActiveAxes( self ) : #NEWLINE# #INDENT# "\n        Return a list of names of axes which are not zero\n        ::\n        \n            >>> l = Location(pop=1, snap=0, crackle=1)\n            >>> l.getActiveAxes()\n            ['crackle', 'pop']\n        " #NEWLINE# names = [ k for k in self . keys ( ) if ( self [ k ] != 0 ) ] #NEWLINE# names . sort ( ) #NEWLINE# return names