Skip to content

Average profile visualization: empty profile is displayed when the target rectangular area is outside the image area #168

Closed
@PierreRaybaut

Description

@PierreRaybaut

When using the "Average profile" feature on an image, a non-empty profile is displayed when the target rectangular area is outside the image area (e.g. when the image is zoomed out and the target area is outside the image area).

This is not expected behavior, as the profile should be empty in this case.

This is caused by a bug upstream in PlotPy v2.7: the get_closest_index_rect method of image items is avoiding to return an empty rectangular area as it should when the target area is outside the image area.

See this PlotPy Issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions