In create_plot(), don't create plot if tree height is invalid