Exemple #1
0
 def aspect (v):
     if v <= 0:
         cli.wrong_usage (__doc__, 'aspect ratio must be greater than zero')
     return v
Exemple #2
0
 def aspect(v):
     if v <= 0:
         cli.wrong_usage(__doc__, 'aspect ratio must be greater than zero')
     return v
Exemple #3
0
 def range (v):
     if v[0] >= v[1]:
         cli.wrong_usage (__doc__, 'data range must have min < max')
     return v
Exemple #4
0
 def range(v):
     if v[0] >= v[1]:
         cli.wrong_usage(__doc__, 'data range must have min < max')
     return v