Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)
BoundedFloats behave like floats, but are required to be within
`minimum` (inclusive) and `maximum` (exclusive)

src/b/o/boomslang-1.0/Inset.py   boomslang(Download)
from Location import Location
import sys
from boomslang_exceptions import BoomslangPlotRenderingException,\
    BoomslangPlotConfigurationException
from BoundedFloat import BoundedFloat
class Inset(object):
    width = BoundedFloat("width", minimum = 0.0, maximum = 1.0)
    height = BoundedFloat("height", minimum = 0.0, maximum = 1.0)
    location = Location("location")
 

src/b/o/boomslang-HEAD/Inset.py   boomslang(Download)
from Location import Location
import sys
from boomslang_exceptions import BoomslangPlotRenderingException,\
    BoomslangPlotConfigurationException
from BoundedFloat import BoundedFloat
class Inset(object):
    width = BoundedFloat("width", minimum = 0.0, maximum = 1.0)
    height = BoundedFloat("height", minimum = 0.0, maximum = 1.0)
    location = Location("location")