Did I find the right examples for you? yes no

All Samples(9)  |  Call(9)  |  Derive(0)  |  Import(0)
x.__float__() <==> float(x)

src/m/a/matplotlib-1.3.1/examples/pylab_examples/contour_label_demo.py   matplotlib(Download)
     def __repr__(self):
         str = '%.1f' % (self.__float__(),)
         if str[-1]=='0':
             return '%.0f' % self.__float__()
         else:
             return '%.1f' % self.__float__()

src/m/a/matplotlib-HEAD/examples/pylab_examples/contour_label_demo.py   matplotlib(Download)
     def __repr__(self):
         str = '%.1f' % (self.__float__(),)
         if str[-1]=='0':
             return '%.0f' % self.__float__()
         else:
             return '%.1f' % self.__float__()

src/m/a/matplotlib-ancient-HEAD/examples/pylab_examples/contour_label_demo.py   matplotlib-ancient(Download)
     def __repr__(self):
         str = '%.1f' % (self.__float__(),)
         if str[-1]=='0':
             return '%.0f' % self.__float__()
         else:
             return '%.1f' % self.__float__()