This snippet of code renders an image (albeit upside-down) when using bokeh==2.1.1:
from PIL import Image
import numpy as np
import requests
from bokeh.plotting import figure
from bokeh.io import output_notebook
from bokeh.plotting import show
output_notebook()
response = requests.get('https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg', stream=True)
rgba_img = Image.open(response.raw).convert("RGBA")
numpy_img = np.array(rgba_img)
fig = figure()
plotted_image = fig.image_rgba(image=[np_img], x=50, y=50, dw=50, dh=50)
show(fig)
Running the exact same code in bokeh==2.2.0 (as well as later versions) outputs nothing, and doesn't raise any errors.
bokeh's release notes does not mention any changes to image_rgba()
