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

[FEATURE] Add functionality to allow FactorRange.start/end to be writable. #9254

Open
gmagno opened this issue Oct 1, 2019 · 1 comment
Open

Comments

@gmagno
Copy link

gmagno commented Oct 1, 2019

For context: this issue being raised after an SO question kindly answered by @bryevdv: here.

Being able to set FactorRange.start/end can be useful when plotting categorical data, follows an example.

A ridge plot that gets clipped on top with p.y_range.range_padding = 0.0:

image

The same plot is not clipped but space is wasted with p.y_range.range_padding = 0.2

image

Finally, by manually repositioning the image I get what I want:

image

Bokeh docs has a nice example of a ridge plot that can be used to depict the issue.

Thanks in advance.

@bryevdv
Copy link
Member

bryevdv commented Oct 11, 2019

Will have to give some some thought, the best solution might be to afford independently configurable padding for start and end, but leave start and end themselves read-only as they currently are.

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

No branches or pull requests

2 participants