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

Enable match_aspect keyword from bokeh #1953

Closed
timothydmorton opened this issue Oct 2, 2017 · 3 comments
Closed

Enable match_aspect keyword from bokeh #1953

timothydmorton opened this issue Oct 2, 2017 · 3 comments
Assignees
Labels

Comments

@timothydmorton
Copy link

Bokeh allows an option to match the aspect ratio of a plot: https://bokeh.pydata.org/en/latest/docs/reference/models/plots.html#bokeh.models.plots.Plot.match_aspect. This would be useful to be able to do in holoviews as well.

@philippjfr philippjfr added this to the v1.9 milestone Oct 2, 2017
@philippjfr
Copy link
Member

So I've just been playing with it, and I can't really figure out how it's meant to work. If you supply just the width it works fine and scales the height appropriately, but when you supply the height it seems to do the inverse of what I'd expect. If someone can confirm I'm not just confused, we should file an issue with bokeh and postpone this.

@philippjfr
Copy link
Member

We now allow setting aspect='equal' and/or data_aspect=1 to enable this.

@philippjfr philippjfr removed this from the v2.0 milestone Sep 23, 2019
Copy link

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.

@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
Projects
None yet
Development

No branches or pull requests

2 participants