HI every body!
I am not getting how to solve this error please give me some suggestions
The first rule of debugging is “believe the error message”. If you don’t understand what it says, that’s the first problem you have to solve. That error means that the data type of (at least) one of the vert_start
, vert_end
, horiz_start
, horiz_end
values is wrong. They all need to be scalar integers. Check the types. At least one of them must be a floating point value or an array or something else that is wrong. Add print statements before the line that “throws” like this:
print(f"type(vert_start) = {type(vert_start)}")
What do you see? How did it get that way?
1 Like
I got it . thank you sir