Grdflexure in PyGMT

what is the equivalent code of gmt grdflexure in PyGMT?

Hi @jeanluc, unfortunately grdflexure isn’t wrapped in PyGMT yet, but you can try calling the function using https://www.pygmt.org/v0.7.0/api/generated/pygmt.clib.Session.call_module.html. Or if you’re keen to implement this in PyGMT, that would work too!