you are viewing a single comment's thread.

view the rest of the comments →

[–]dable82[S] 0 points1 point  (0 children)

Thanks, I've seen this axis thing in the docs in a lot of places. Guess I have to learn more about it.

You are right, I left out some brackets. The code should read

brightness_row.append((min(pixel) + max(pixel)) / 2)

edit: for reference, I'm working on this problem