bokehjs Image RGBA not displaying

Hello,

I would like to plot an image with bokehjs.

The image pixels are not displayed. It seems that the image array is not correctly defined in js.

See bokehjs and bokeh example attached.

Thanks for any help and inputs.

Raphael

bokehjs_image_rgba.html (1.71 KB)

image_rgba.py (1.61 KB)

The data for each image for image_rgba is an array of uint32, please refer to this example in the docs:

  https://bokeh.pydata.org/en/latest/docs/gallery/image_rgba.html

Thanks,

Bryan

···

On Aug 15, 2018, at 15:56, Web Busino <[email protected]> wrote:

Hello,

I would like to plot an image with bokehjs.

The image pixels are not displayed. It seems that the image array is not correctly defined in js.

See bokehjs and bokeh example attached.

Thanks for any help and inputs.

Raphael

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/428f1e95-1ad9-5e99-34f7-5bb8b4b1bcb5%40busino.ch\.
For more options, visit https://groups.google.com/a/continuum.io/d/optout\.
<bokehjs_image_rgba.html><image_rgba.py>

Hi Bryan,

  Thanks for the input. But the example you provided is  python

(server) example which is working as expected.

The problem I have is to get it working in plain bokehjs.

Raphael

···

On 2018-08-16 01:09, Bryan Van de ven
wrote:




The data for each image for image_rgba is an array of uint32, please refer to this example in the docs:
Thanks,
Bryan

On Aug 15, 2018, at 15:56, Web Busino wrote:
Hello,
I would like to plot an image with bokehjs.
The image pixels are not displayed. It seems that the image array is not correctly defined in js.
See bokehjs and bokeh example attached.
Thanks for any help and inputs.
Raphael
-- You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to .
To post to this group, send email to .
To view this discussion on the web visit .
For more options, visit .
<bokehjs_image_rgba.html><image_rgba.py>

https://bokeh.pydata.org/en/latest/docs/gallery/image_rgba.html[email protected][email protected]@continuum.iohttps://groups.google.com/a/continuum.io/d/msgid/bokeh/428f1e95-1ad9-5e99-34f7-5bb8b4b1bcb5%40busino.chhttps://groups.google.com/a/continuum.io/d/optout