Region translate method has no inplace argument

All, I’ve noticed that with a region defined you can call region.rotate() with the inplace argument = True to directly rotate your region without cloning. If you’d like to translate your region, the inplace argument is not available. As I understand it, this means you must clone your regions in order to translate. Is there a specific region that this is the case? If not, I’d propose that this argument be exposed at the region level.
-Josh

Hey @mayjosh. Sorry for the late response here – offhand, I don’t see any reason why rotate() would have the inplace but not translate(). I’ll see if we can get that added!

1 Like

I just put in a pull request for this and it should land in our next release.

1 Like