def filtersizes(iterator, size = "medium"):
    sizes = {"small": 0, "medium": 1, "large": 2, "original": 3}
    required = sizes[size]
    for x in iterator:
        if x.format in sizes and sizes[x.format] >= required:
            yield x
Install a new UI color scheme.
dataset/ETHPy150Open cvondrick/pyvision/vision/flickr.py/filtersizes--crossover with--dataset/ETHPy150Open jonathanslenders/ptpython/ptpython/python_input.py/PythonInput.install_ui_colorscheme