return figure in vis