The vizinfo box automatically adjusts its size to fit the widht/height of the text. The following code shows how to adjust the text size and disable the expand/shrink icon:
Code:
import viz
viz.go()
MESSAGE = """This is my message.
It contains multiple lines.
This is the last line.
"""
import vizinfo
info = vizinfo.add(MESSAGE,textsize=2.0) #Double text size
info._checkbox.disable()