Giter Site home page Giter Site logo

Errorbars about holoviews HOT 7 CLOSED

holoviz avatar holoviz commented on August 22, 2024
Errorbars

from holoviews.

Comments (7)

philippjfr avatar philippjfr commented on August 22, 2024

This has been one of our main to-do items for a long time now. Now that someone has requested them I don't think there is any excuse not to do them. We'll discuss it today and get back to you.

from holoviews.

jbednar avatar jbednar commented on August 22, 2024

Yes, errorbars and stream plots are sorely needed, but note that they can currently be done using the Seaborn interface (see the Seaborn and Pandas tutorial).

from holoviews.

philippjfr avatar philippjfr commented on August 22, 2024

Just added an ErrorBars Element type. I'll rebuild the Elements tutorial now so there should be an example up on the website fairly soon.

from holoviews.

philippjfr avatar philippjfr commented on August 22, 2024

The example is now live and can be seen here. Let us know if it works for you and if you need any modifications or have any suggestions. I'll close this issue now.

from holoviews.

jbednar avatar jbednar commented on August 22, 2024

Looks good. In the new example, shouldn't it say vertical=False for the second plot? They certainly seem to be horizontal.

I'm not sure that vertical or horizontal is really a plotting option -- isn't this a semantic issue, i.e. declaring that the data is ranging over either x or y? And if so, shouldn't it be a parameter for the Element, not the Element's style options? It doesn't seem like a stylistic choice, to me, but maybe I'm confused.

from holoviews.

philippjfr avatar philippjfr commented on August 22, 2024

I clearly didn't pay enough attention when implementing it at first but I had already renamed it to horizontal last night. I also wondered what the best way of selecting x-error bars vs. y-error bars was, initially I had separate Elements for each just like we have VLine and HLine. I don't know what the best option is but a parameter on the Element is probably it, any suggestions for naming it?

from holoviews.

jbednar avatar jbednar commented on August 22, 2024

Maybe key_index, to specify which key_dimension the error values apply to? By default, key_index=0, indicating that the error bars are for values specified on the x axis, and nearly everyone would use that default (resulting in vertical error bars). But the error bars could apply to any key_dimension in principle, which this proposal would allow.

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.