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

Turn off dimension label for a specific HoloMap #425

Closed
basnijholt opened this issue Jan 28, 2016 · 4 comments
Closed

Turn off dimension label for a specific HoloMap #425

basnijholt opened this issue Jan 28, 2016 · 4 comments
Milestone

Comments

@basnijholt
Copy link
Contributor

I have a HoloMap with custom labels:
screen shot 2016-01-28 at 16 03 47

I would like to turn off the label that is automatically generated by the HoloMap for this specific one, not all by doing hv.core.dimension.title_format = ''".

@jlstevens
Copy link
Contributor

Just to be clear, is there any reason you cannot just disable the title in the plot options?

@philippjfr
Copy link
Member

That's true, the main problem is when you want group and label to be shown and not the dimension values. The title_format plot option should ideally provide control over that.

@jlstevens
Copy link
Contributor

Seems to me this should also be done via the plot option.

The way I see it, the use of dim_title (dim_title = self._frame_title(key, separator=separator)) in GenericElementPlot._format_title should also be controlled via the title_format plot option.

@philippjfr
Copy link
Member

The title_format argument now accepts a new keyword, by default it is:

title_format='{group} {label}\n{dimensions}'

By removing the dimensions part you can disable dimensions being displayed. Closing this issue.

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

3 participants