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

setting clims forces colorbar with hat #1109

Closed
vascotenner opened this issue Feb 8, 2017 · 1 comment
Closed

setting clims forces colorbar with hat #1109

vascotenner opened this issue Feb 8, 2017 · 1 comment
Assignees
Labels
tag: backend: mpl type: bug Something isn't correct or isn't working
Milestone

Comments

@vascotenner
Copy link
Contributor

When an image is plotted, with values that are not within the clims, the colorbar show a little hat on top/bottom.

However, when setting the clims to (None,None), the clims should be determined automatically and no hat should be shown:

Works

%%opts Image [colorbar=True]
tmp = np.random.rand(10,10)
tmp /= tmp.max()
hv.Image(tmp)

download

Works not

%%opts Image [colorbar=True] (clims=(None,None)) 
hv.Image(tmp)

download 1

@philippjfr philippjfr added type: bug Something isn't correct or isn't working tag: backend: mpl labels Feb 8, 2017
@philippjfr philippjfr added this to the v1.7.0 milestone Mar 15, 2017
@philippjfr philippjfr self-assigned this Mar 15, 2017
@philippjfr
Copy link
Member

Fixed in #1211.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tag: backend: mpl type: bug Something isn't correct or isn't working
Projects
None yet
Development

No branches or pull requests

2 participants