Exemplo n.º 1
0
 def __call__(self, x, pos):
     if pos==0: return ''
     else: return ScalarFormatter.__call__(self, x, pos)
Exemplo n.º 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)
Exemplo n.º 3
0
 def __call__(self, val, pos=None):
   return thousands(ScalarFormatter.__call__(self, val, pos))
Exemplo n.º 4
0
 def __call__(self, x, pos):
     if pos == 0: return ''
     else: return ScalarFormatter.__call__(self, x, pos)
Exemplo n.º 5
0
 def __call__(self, x, pos=None):
     s = ScalarFormatter.__call__(self, x, pos)
     return s + "$i$"