You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TypeError: 'Dimension' object cannot be interpreted as an integer #67
Depending on the units you used when setting the size() it's quite possible that WIDTH and HEIGHT will be floating point values, so you'll always need to wrap them in int() in contexts where an integer is required (such as your range() use case).
Activity
samizdatco commentedon May 23, 2025
Depending on the units you used when setting the size() it's quite possible that
WIDTHandHEIGHTwill be floating point values, so you'll always need to wrap them inint()in contexts where an integer is required (such as yourrange()use case).