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!
image

https://www.slicer.org/wiki/Documentation/Nightly/ScriptRepository#Hide_slice_view_annotations_.28DataProbe.29

Thanks a lot! @Andinet_Enquobahrie