Acess to "Data Axes Grid" edit options by python

Hi all!

I am trying to set axes in a desired position in order to track the flow in a better manner. However I need to do this from python scripts:

I tried to trace the code while I was doing all these actions but the tracer didn’t print any code…

I had a similar problem with this when I was working with keyframes (the python code was not being printed) and the ParaVIew support gave me instructions about how to access to the keyframes from the python console. Is there any known way to access this edit menu from python scripts?

Thank you in advance!