-
-
Notifications
You must be signed in to change notification settings - Fork 402
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
Errorbars #44
Comments
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. |
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). |
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. |
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. |
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. |
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? |
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. |
Is it possible to create plots with errorbars, like plt.errorbar does?
The text was updated successfully, but these errors were encountered: