#NEWLINE# @ staticmethod #NEWLINE# def is_numlike( x ) : #NEWLINE# #INDENT# '\n        The matplotlib datalim, autoscaling, locators etc work with\n        scalars which are the units converted to floats given the\n        current unit.  The converter may be passed these floats, or\n        arrays of them, even when units are set.  Derived conversion\n        interfaces may opt to pass plain-ol unitless numbers through\n        the conversion interface and this is a helper function for\n        them.\n        ' #NEWLINE# if iterable ( x ) : #NEWLINE# #INDENT# for thisx in x : #NEWLINE# #INDENT# return is_numlike ( thisx ) #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# return is_numlike ( x )