Create resize_figure