Open herrxyz opened 3 months ago
suggestion: api method SetRectangle take tuple as alternative input
crop = (1,2,3,4) (left, top, width, height) = crop works: api.SetRectangle(left, top, width, height) breaks: api.SetRectangle(crop)
using current version 2.5.2 from conda-forge
You can api.SetRectangle(*crop)
api.SetRectangle(*crop)
suggestion: api method SetRectangle take tuple as alternative input
crop = (1,2,3,4) (left, top, width, height) = crop works: api.SetRectangle(left, top, width, height) breaks: api.SetRectangle(crop)
using current version 2.5.2 from conda-forge