Don't try to plot empty arrays.