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

use Renderer's center property for HoloViews pane #5197

Merged
merged 2 commits into from
Apr 8, 2022

Conversation

stas-sl
Copy link
Contributor

@stas-sl stas-sl commented Jan 28, 2022

Hi, I noticed that there are 2 places where HoloViewsPane is instantiated: in one case its center property is set using Renderer's center property, in another it is set to always = True, not sure if this is intended behavior, but I assume this should be fixed, as currently you need to wrap you plot into panel manually if you don't want to center it, which is a bit inconvenient.

Hi, I noticed that there are 2 places where HoloViewsPane is instantiated: in one case its center property is set using Renderer's center property, in another it is set to always = True, not sure if this is intended behavior, but I assume this should be fixed, as currently you need to wrap you plot into panel manually if you don't want to center it, which is a bit inconvenient.
@philippjfr
Copy link
Member

Thanks @stas-sl!

@stas-sl
Copy link
Contributor Author

stas-sl commented Jan 29, 2022

Oops 😳, now it should be better

@stas-sl
Copy link
Contributor Author

stas-sl commented Jan 30, 2022

Hmm, I'm not sure now how the error could be caused by my changes, but if so, probably it is more complicated than I thought...

@philippjfr philippjfr merged commit fd72219 into holoviz:master Apr 8, 2022
philippjfr pushed a commit that referenced this pull request Apr 8, 2022
* use Renderer's center property for HoloViews pane

Hi, I noticed that there are 2 places where HoloViewsPane is instantiated: in one case its center property is set using Renderer's center property, in another it is set to always = True, not sure if this is intended behavior, but I assume this should be fixed, as currently you need to wrap you plot into panel manually if you don't want to center it, which is a bit inconvenient.

* use Renderer's center property for HoloViews pane
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
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants