Giter Site home page Giter Site logo

Comments (7)

philippjfr avatar philippjfr commented on August 22, 2024

Good catch will have a look.

from holoviews.

philippjfr avatar philippjfr commented on August 22, 2024

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.

philippjfr avatar philippjfr commented on August 22, 2024

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.

basnijholt avatar basnijholt commented on August 22, 2024

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.

philippjfr avatar philippjfr commented on August 22, 2024

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.

basnijholt avatar basnijholt commented on August 22, 2024

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.

philippjfr avatar philippjfr commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.