예제 #1
0
 def __call__(self, x, pos):
     if pos==0: return ''
     else: return ScalarFormatter.__call__(self, x, pos)
예제 #2
0
 def __call__(self, x, pos=None):
     dc = self.mx - self.mn
     x = x*dc + self.mn
     return ScalarFormatter.__call__(self, x, pos=pos)
예제 #3
0
 def __call__(self, val, pos=None):
   return thousands(ScalarFormatter.__call__(self, val, pos))
예제 #4
0
 def __call__(self, x, pos):
     if pos == 0: return ''
     else: return ScalarFormatter.__call__(self, x, pos)
예제 #5
0
파일: jvis.py 프로젝트: apodemus/grafico
 def __call__(self, x, pos=None):
     s = ScalarFormatter.__call__(self, x, pos)
     return s + "$i$"