# Correct way to use Selection (Lasso, Box) on an Image

**URL:** <https://discourse.bokeh.org/t/correct-way-to-use-selection-lasso-box-on-an-image/7552>\
**Category:** Community Support\
**Tags:** bokehjs, server\
**Created:** [April 2, 2021, 12:57pm UTC](https://discourse.bokeh.org/t/correct-way-to-use-selection-lasso-box-on-an-image/7552 "2021-04-02T12:57:28Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Bryan](https://discourse.bokeh.org/user_avatar/discourse.bokeh.org/bryan/32/3625_2.png) [@Bryan](https://discourse.bokeh.org/u/Bryan)\
**Post date:** [April 5, 2021, 6:28pm UTC](https://discourse.bokeh.org/t/correct-way-to-use-selection-lasso-box-on-an-image/7552/7 "2021-04-05T18:28:36Z")

</div>

> [@kaprisonne](#):
>
> - The `WheelZoomTool` works as expected if I scroll with my cursor ON the image. If I move the cursor onto the `ColorBar` on the right and scroll my image zooms only along the Y-Axis? That is obviously not what I want.

There’s not enough information here to speculate. Do you mean “outside the central plot area”? If so that is intended behavior. scrolling on an “axis area” outside the main plot viewport is an intentional mechanism to selectively scroll a single axis. You can turn that off, but only in the sense that scrolling outside the plot area will have no effect whatsoever.

> For some reason `bokeh.plotting.Figure.image` flips the image along the x-axis before rendering it?

Definitely would need an MRE to investigate and actually observe what is happening.

---

_[View the full topic](https://discourse.bokeh.org/t/correct-way-to-use-selection-lasso-box-on-an-image/7552)._
