Controlling the histogram via python.

How can I open a new histogram in pane4 using python?

How can I make the histogram re-appear on the same panel when I re-open the project? Currently every time I re-open the project the histogram appears in pane1 and I have to manually re position it to pane4, and pane4 is empty.

Are there python commands to control the scale on the histogram?

I’d love to have a way to center the scale, so that all available values on the image could be displayed without me having to fiddle with the mouse.

Thanks in advance.