Skip to content

Bug with numpy 2.x #5

@alanwilter

Description

@alanwilter

Change this line:

from

                sum_pixels = sum(plot_image[row_index, x_start:x_end])

to

                sum_pixels = np.sum(plot_image[row_index, x_start:x_end])

it will work with numpy 2.x.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions