Updates to figure functions.