Comments (7)
Good catch will have a look.
from holoviews.
As far as I can tell this was fixed by acd6e45. Try pulling the latest version and let me know if you can still reproduce this bug.
from holoviews.
That was only concerning the sampling issue. The issue with the axes we addressed previously in #42, but I haven't yet acted on it. Will hopefully get around to that today.
Edit: The easiest workaround for now is to enable the situate_axes
plot option on the Image.
from holoviews.
Yes, that fixed it. I had already installed the latest master but forgot to reload...
Is it possible to plot the same in the same range as the graph that you're sampling? The axis are still from 0 to 35.
from holoviews.
As I said the situate_axes
plot option on Image should do it. The issue is that our entire normalization system currently doesn't allow you to independently control whether the axes ranges or just the Raster luminance values are shared and since it's often pretty annoying for Images to embed in a much larger space we added the situate_axes
plot option to make that behavior optional. After the discussions in #49 and #52, we no longer think that is a good idea but have yet to act on the conclusions we've come up with.
Edit: Just noticed that you want both not to be in the 0-35 range? Can't you just not set the Chemical potential Dimension range or am I misunderstanding something?
from holoviews.
Yes that is a possible solution, but is there no other way?
My understanding was that in Dimension(nane, range(min, max)
I put the outer values of that dimension, or am I mistaken?
from holoviews.
The Dimension range is basically the space that the values along that Dimension lives in. So yes your understanding is correct and as I keep saying Image currently has special treatment in the way it handles those ranges, ignoring them unless situate_axes
is enabled. We will get rid of this special handling but for now your options are either not to supply the Dimension.range (based on your plot above that will result in a 5-9 range along the Chemical potential axis) or to enable situate_axes
on Image (resulting in a 0-35 range on both the Image and the Curve plot). The behavior you get with situate_axes
will eventually be enabled by default.
from holoviews.
Related Issues (20)
- hv.timeseries doesn't work with xarray
- hv.timeseries.rolling doesn't work with object typed groupby
- hv.Image.sample does not work for xarray
- `pn.state.curdoc` is `None` inside of a popup-function HOT 5
- `.opts` does not work with `param.rx` objects
- More control over `Layout` composition
- Support static screenshot mode including widgets
- Add recent Bokeh 3.5 enhancements to RangeToolLink
- Cannot reopen popup when using reference examples HOT 2
- x marker rendered as + in legend
- `link_selections.instance` is incompatible with manually attached streams HOT 2
- Make it easy to switch mouse cursor icon over plot
- Opts hover_tooltips formatting date doesn't work HOT 1
- Standalone colorbar
- Skipping sublabel indexing HOT 2
- Issue with activation of the box_select tool
- `hv.render` ignores theme `bgcolor`
- Support Tap stream for multi_y HOT 1
- Support hv.Overlay as input to inspect_points
- interpolation for Image is broken with datashade
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from holoviews.