Skip to content
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

BoxWhisker: outliers are not displayed on bokeh backend #6166

Closed
1 task done
alxthm opened this issue Apr 1, 2024 · 2 comments · Fixed by #6169
Closed
1 task done

BoxWhisker: outliers are not displayed on bokeh backend #6166

alxthm opened this issue Apr 1, 2024 · 2 comments · Fixed by #6169

Comments

@alxthm
Copy link

alxthm commented Apr 1, 2024

ALL software version info

Python: Python 3.9.17
Relevant requirements:

bokeh==3.4.0
holoviews==1.18.3
matplotlib==3.8.3

Browser: firefox 124.0.1 (64-bit), macOS

Description of expected behavior and the observed behavior

On bokeh backend, the BoxWhisker plot does not display outliers (normally rendered as dots or circles, outside the box limits).

The plot does work as expected on a matplotlib backend.

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

import holoviews as hv
import numpy as np

x = np.random.randn(1000)
print(max(x)) # prints `2.8981705376936917` in this example

# here, outliers are displayed as expected (see screenshots)
hv.extension('matplotlib')
hv.BoxWhisker(x, vdims='Value')

# here, no outliers are displayed
hv.extension('bokeh')
hv.BoxWhisker(x, vdims='Value')

Stack traceback and/or browser JavaScript console output

Looking at the browser console, this warning appears each time I try to plot a BoxWhisker:

[bokeh 3.4.0] attempted to retrieve property array for nonexistent field 'radius'

Screenshots or screencasts of the bug in action

Screenshot 2024-04-01 at 13 16 04
  • I may be interested in making a pull request to address this (with some help and pointers!)
@BMM3
Copy link

BMM3 commented Apr 1, 2024

It might be linked to the following issue: #5431

Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 23, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants