How, via python scripts, to hide the image name?

Operating system: windows
Slicer version: 4.11.0
Expected behavior: hide image name
Actual behavior:

Sometimes I would like to have an automatic screen shot of view without any image names. How to do it via python? Thanks a lot!

Thanks a lot! @Andinet_Enquobahrie