question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error bars not working for categorical axis with bokeh

See original GitHub issue

ALL software version info

holoviews = 1.13.3 python = 3.6.10 bokeh = 2.2.1

on MacOs 10.14.6

Description of expected behavior and the observed behavior

Expected: Error bars are shown for categorical values

Error bars are not shown, issue should already be resolved: https://github.com/holoviz/holoviews/issues/1470

Complete, minimal, self-contained example code that reproduces the issue

%%opts ErrorBars (line_width=2 line_color='darkblue')
%%opts Points    [invert_axes=False] (color='darkred' size=6)
import holoviews as hv
import numpy as np

x=['a','b','c','d','e']
points = [(x[i], 5*np.random.rand()) for i in range(5)]
errors = [points[i]+(np.random.rand()/2,) for i in range(5)]

h1 = hv.Points(points)
h2 = hv.ErrorBars(errors)
h2*h1

Screenshots or screencasts of the bug in action

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
kubekmonikacommented, Dec 13, 2020

Hello, I have just stambled upon this error. Is there any workaround I can use before it is fixed?

1reaction
philippjfrcommented, Feb 10, 2021

We are testing against master. It may also come down to the Bokeh version though. In any case there will be new HoloViews and Bokeh releases very soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Handling categorical data — Bokeh 2.4.3 Documentation
One of the most common ways to handle categorical data is to present it in a bar chart. Bar charts have one categorical...
Read more >
Javascript error in Bokeh Nested Categorical Bar Chart
The issue is that your labels are way, way too long to fit inside a 300px high plot when they are oriented vertical-ish....
Read more >
Categorical axes and HoloViews — BE/Bi 103 a documentation
We have seen how to handle categorical axes with Bokeh, including nested axes. ... an error bar) like in a bar graph, you...
Read more >
Lesson 23: High level plotting
To demonstrate how to set up a categorical axis with Bokeh, I will make a bar graph of the mean impact force for...
Read more >
Seaborn Bar Plot - Tutorial and Examples - Stack Abuse
Bar graphs display numerical quantities on one axis and categorical variables on the other, letting you see how many occurrences there are ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found