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

Fix aspect if width/height has been constrained #4579

Merged
merged 2 commits into from
Aug 31, 2020
Merged

Conversation

philippjfr
Copy link
Member

@philippjfr philippjfr commented Aug 31, 2020

If a user supplies min/max width and/or height then the initially computed aspect may be wrong because we can't actually work out what width/height bokeh computes until it is rendered. Therefore we allow the PlotSize stream to trigger an initial event which sets the correct aspect by adjusting the axis limits after initial rendering.

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: backend: bokeh labels Aug 31, 2020
@philippjfr philippjfr added this to the v1.13.4 milestone Aug 31, 2020
@philippjfr philippjfr merged commit d584e1b into master Aug 31, 2020
@philippjfr philippjfr deleted the constrained_aspect branch April 25, 2022 14:39
Copy link

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

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
tag: backend: bokeh type: bug Something isn't correct or isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants