<vizinfo>.shrink

Shrink the info box

 

<vizinfo>.shrink()

 

Remarks

This command will animate the info box shrinking, if it is not already shrunk.

Return Value

None

Example

import vizinfo

info = vizinfo.add('Some information')

#When 's' key is pressed info box will shrink
#When 'e' key is pressed info box will expand
vizact.onkeydown('s', info.shrink)
vizact.onkeydown('e', info.expand)

See also

<vizinfo>.expand