Skip to content

[BUG] plot's height can not go below 600px with sizing_mode = 'stretch_both' #11344

Closed
@dubrayn

Description

@dubrayn

Version

Bug NOT PRESENT in version 2.3.0.
Bug PRESENT in versions 2.3.1 and newer.

Environment

Python: 3.8.6
Browser: firefox 89.0
OS: ubuntu

Reproducer

#!/usr/bin/env python3
from bokeh.layouts import column
from bokeh.plotting import figure, show
p0 = figure(title="graph #0")
p0.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5])
p1 = figure(title="graph #1")
p1.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5])
p2 = figure(title="graph #2")
p2.line([1, 2, 3, 4, 5], [6, 7, 2, 4, 5])
r = column([p0, p1, p2], sizing_mode = 'stretch_both')
show(r)

Expected behavior

3 plots stacked vertically fill the page. When resizing the browser, the plots resize to fit the new page's height.

Observed behavior

3 plots stacked vertically overflow the page. When resizing the browser, the plots seem to have a minimal height of 600px.

Screenshots

Version 2.3.0 (no bug):
v2.3.0 (no bug)

Version 2.3.1 (bug):
v2.3.1 (bug)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions