holoviz / holoviews

With Holoviews, your data visualizes itself.
https://holoviews.org
BSD 3-Clause "New" or "Revised" License
2.68k stars 401 forks source link

Unable to set xlim for image using apply.opts #4857

Open dhruvbalwada opened 3 years ago

dhruvbalwada commented 3 years ago

This is repost of a discourse post (https://discourse.holoviz.org/t/unable-to-set-xlim-for-image-using-apply-opts/1927) since it was identified as a bug.

The basic problem is that it seems to not be possible to set xlim using apply.opts.

A minimal example is already there in the discourse post.

jlstevens commented 3 years ago

Thanks for filing this issue!

It does indeed seem to be a bug.

philippjfr commented 3 years ago

The problem here is that ranges are not applied unless framewise=True so this is technically not a bug. However it is arguable that an explicit xlim should always be respected.