☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Mirrored image along x-axis

Community Support
Milos_Miljkovic
Milos_Miljkovic

Is there a way for bokeh.plotting.image() to behave like matplotlib.pyplot.imshow()? Meaning, show image not mirrored along x-axis.

Upside-down Lena

from scipy.misc import lena

import bokeh.plotting as bk

bk.output_notebook()

lena_img = lena()/256.0

bk.image(image=[lena_img], x=[0], y=[0], dw=[512], dh=[512],

x_range = [0, 512], y_range = [0, 512],

plot_width=512, plot_height=512, palette=‘Greys9’)

bk.show()

``

⌁   Link to post

End of archived discussion · Replies are disabled