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

Skipping sublabel indexing #6355

Open
LecrisUT opened this issue Aug 2, 2024 · 2 comments
Open

Skipping sublabel indexing #6355

LecrisUT opened this issue Aug 2, 2024 · 2 comments

Comments

@LecrisUT
Copy link
Contributor

LecrisUT commented Aug 2, 2024

Is your feature request related to a problem? Please describe.

Let's say I have a grid of 1x3 plots that use. Now I want to add some custom legend like a colorbar spanning the full layout for which I would construct a layout of layout, but alas I couldn't find how to do that. In this limited case I can just add it as the first overlay, but then it gets the additional sublabel. Ideally there would be a mechanism to skip the labeling of a specific overlay that is used in +=

Describe the solution you'd like

Have a .opts() option like sublabel_label or sublabel_skip that would overwrite the generation through sublabel_format.

Describe alternatives you've considered

Maybe this would be possible by composing with the primitives behind holoview.Layout, but how to use those is undocumented. The closest alternative is the panel.Column/panel.Row, but it is unclear how things like renedere.save() interact with those.

Additional context

Screenshot_20240802_172543-1

@ahuang11
Copy link
Collaborator

ahuang11 commented Aug 2, 2024

Related to holoviz/hvplot#1370

from holoviews.core.options import Options

options = hv.Store.options(backend='matplotlib')
options.Layout = Options('plot', sublabel_format=None)

@LecrisUT
Copy link
Contributor Author

LecrisUT commented Aug 2, 2024

Yes, but in this case it's about making it selectively skip labels, i.e. b) should become a) in the screenshot. Strongly related to this discourse comment though

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

No branches or pull requests

2 participants