def high_density_objs(row_obj: CityInfo) -> dict:
    """Color rows with extremely high population density red."""
    opts = dict()
    if float(pop_density(row_obj)) > EXTREMELY_HIGH_POULATION_DENSITY:
        opts[tf.TableFormatter.ROW_OPT_TEXT_COLOR] = tf.TableColors.TEXT_COLOR_RED
    return opts
def high_density_objs ( row_obj : CityInfo ) -> dict : opts = dict ( ) if float ( pop_density ( row_obj ) ) > EXTREMELY_HIGH_POULATION_DENSITY : opts [ tf . TableFormatter . ROW_OPT_TEXT_COLOR ] = tf . TableColors . TEXT_COLOR_RED return opts
Color rows with extremely high population density red.