Comments (2)
The root cause: in the serialization logic that handles np.ma.MaskedArray
, it assumes the MaskedArray
is float type that supports np.nan
:
bokeh/src/bokeh/util/serialization.py
Lines 356 to 357 in c2926ab
Not sure how best to approach it. I understand the .fill_value
of a MaskedArray
is often undesirable (some default large value produced by numpy), and nan
probably does work best in practice.
But nan
does not work for MaskedArray
of integer types.
from bokeh.
Related Issues (20)
- BokehJS docs page has issues HOT 2
- [BUG] figure.circle produces empty plot when used datetime axis HOT 5
- Bokeh.Plotting.figure.circle in bokehjs can't find `x` and `y` in a ColumnDataSource HOT 1
- CI jobs should fail immediately (or retry) if package install fails
- Remove typing_extenions at minpy 3.11
- [BUG] Tooltips not shown when plot is in fullscreen HOT 1
- [BUG] NPM package has types (*.d.ts) in incorrect location
- [FEATURE] Custom sorting of columns in a table HOT 1
- `Tooltip` is initially attached to the DOM when it shouldn't be HOT 1
- Inner canvas layers need `overflow: hidden` after PR #13863
- [BUG] Typing of layouts.gridplot expects wrong type if ncols given
- Add IndexedStackColorMapper for ImageStack glyph
- [BUG] `bokeh.plotting.figure.circle` does not display circles in bokeh 3.4.1 HOT 6
- Release build fails after PR #13901 HOT 2
- [FEATURE] triangle relative size by data units HOT 1
- [BUG] Figure not displaying in Dash app (sad smiley) when width >= 20000 HOT 1
- Tests/CI fail due to a regression in requests 2.32.0
- [BUG] Dialog and Datatable don't get along well HOT 4
- [BUG] Databable cannot be put in Dialog HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bokeh.