Skip to content

Param with bounds should default to lower bound #911

Open
@ahuang11

Description

@ahuang11
import param
class Test(param.Parameterized):

    fps = param.Integer(
        bounds=(1, None),
        doc="The number of frames per second to use for the output.",
    )


Test()

ValueError: Integer parameter 'fps' must be at least 1, not 0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions