-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[BUG] Whiskers do not appear in categorical plots? #10575
Comments
Currently most annotations are limited to numerical axes, though it should be pretty simple to lift this restriction in |
Hello any workaround to have whiskers on 2.2.3 ? But i need grouped Bar Charts with error bars :-( Thanks for any help |
@alucab the fix for this is merged and will be in the upcoming 2.3.0 release |
Hey Brian,
thanks for the swift answer !
Have you got an idea of the possible date ?
I have thought that i can work around it using vbar segments i overlay but
definitely it would be great to have the whiskers
…On Tue, Jan 5, 2021 at 9:59 PM Bryan Van de Ven ***@***.***> wrote:
@alucab <https://github.com/alucab> the fix for this is merged and will
be in the upcoming 2.3.0 release
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#10575 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAD6R72OMCGW27JISWRNYVDSYN4UHANCNFSM4SQJKK6Q>
.
|
Happened to me on the update from 2.0.2 to 2.2.0. Fixed with 2.3.0. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Software version info
OS: Linux 5.6.0-2-amd64 #1 SMP Debian 5.6.14-2 (2020-06-09) x86_64 GNU/Linux
Bokeh version: 2.2.2
Python version: 3.8.6
Description of expected behavior and the observed behavior
I used to be able to combine whiskers into categorical plots using Bokeh 1.4.0. When I upgraded to 2.2.2, the whiskers disappeared. The plot I have in mind is a dotplot + whiskers + multi-category plot, with the (single) dot indicating the mean and whiskers as stderr.
Complete, minimal, self-contained example code that reproduces the issue
(this code is lightly edited from https://docs.bokeh.org/en/latest/docs/user_guide/annotations.html?highlight=whisker, and incorporates some categorical code (e.g.
x_range=FactorRange(*x)
) from https://docs.bokeh.org/en/latest/docs/user_guide/categorical.html.Stack traceback and/or browser JavaScript console output
Screenshots or screencasts of the bug in action
When the code is run as provided above, this is what I got.

When the commented statements are uncommented (i.e.

#base.append(str(year))
and#p = figure(plot_width=600, plot_height=300, title="Years vs mpg with Quartile Ranges")
), and the line following that is commented out, I getNot exactly sure what's wrong, but it seems to me that
Whisker
seem to only appear on numerical-type axis, not a factorial-type one? Thanks for looking into this!The text was updated successfully, but these errors were encountered: