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
Lackey code: seems to expect only 2 argument:
def grow(self, width, height=None):
Either the code or the documentation needs updating...
NOTE: I prefer the grow method to accept 4 argument (left, right, top, bottom),...since I used it in this way in my previous sikuli scripts. OR Is there an alternative to grow a region only in one direction? So, something like grow(0,200,0,0)
The text was updated successfully, but these errors were encountered:
my code:
newregion = r.grow(r.x,r.y,300,10)
error:
TypeError: grow() takes from 2 to 3 positional arguments but 5 were given
accoring to the docs the last option of grow allows 4 arguments
https://lackey.readthedocs.io/en/latest/lackey.html#lackey.Location.grow
Lackey code: seems to expect only 2 argument:
def grow(self, width, height=None):
Either the code or the documentation needs updating...
NOTE: I prefer the grow method to accept 4 argument (left, right, top, bottom),...since I used it in this way in my previous sikuli scripts. OR Is there an alternative to grow a region only in one direction? So, something like grow(0,200,0,0)
The text was updated successfully, but these errors were encountered: