def last_row(index, n_rows, n_columns):
    """
    Determine whether panel is not in the last row of sub-plots of the figure from the index of the panel and the number
    of rows and columns of subplots.

    Args:
        index: The number of the panel counting up from zero
        n_rows: Number of rows of sub-plots in the figure
        n_columns: Number of columns of sub-plots in the figure
    """

    return index >= (n_rows - 1) * n_columns