How to set orthogonal view along X/Y/Z axis in code?

#744

I know in open3d.visualization.draw_geometries_with_editing() there are the following options.

Press X : Enter orthogonal view along X axis, press again to flip.
Press Y : Enter orthogonal view along Y axis, press again to flip.
Press Z : Enter orthogonal view along Z axis, press again to flip.

What parameter should I set in order to get the same features in code. I play around with transformation matrix or ViewControl but I just did not get any luck yet. Any clues or advises are really apricated. Thanks!