“cmd.viewport” changes the size of the graphics display area.
cmd.viewport(int width, int height)
def viewport(width=-1,height=-1):
viewport | api