Skip to content

Deprecate width_policy and height_policy #7492

@philippjfr

Description

@philippjfr

When first creating Panel I exposed all the base styling and layout related parameters from Bokeh, including sizing_mode, width_policy and height_policy. The thing is though that the width and height policy options effectively offers no more control than the sizing_mode and also less intuitive. Therefore I propose to remove these parameters, making it clear that sizing_mode is how to control these options.

The impact should be minimal as we steered most users towards sizing_mode from the very beginning and with a longer deprecation period with warnings we can give folks time to switch over.

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprecationA proposal to deprecate a feature

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions