make_fig for key