Skip to content

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

Closed

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)

Activity

  1. self-assigned this
    on Jun 29, 2021
  2. added this to the 2.3.3 milestone on Jun 30, 2021
  3. github-actions commented on Oct 26, 2024

    @github-actions

    This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  4. locked as resolved and limited conversation to collaborators on Oct 26, 2024
  5. added theissue type on Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions