fix figure argument in vis.py