Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
Tracked by #11403
dubrayn opened this issue Jun 15, 2021 · 0 comments · Fixed by #11394
Closed
Tracked by #11403

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

dubrayn opened this issue Jun 15, 2021 · 0 comments · Fixed by #11394

Comments

@dubrayn
Copy link

dubrayn commented Jun 15, 2021

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants