def diagonals_around(location):
    loc_x, loc_y = location
    yield (loc_x - 1, loc_y - 1)
    yield (loc_x - 1, loc_y + 1)
    yield (loc_x + 1, loc_y - 1)
    yield (loc_x + 1, loc_y + 1)
Setup the the layout saver.
dataset/ETHPy150Open tuturto/pyherc/src/pyherc/data/geometry.py/diagonals_around--crossover with--dataset/ETHPy150Open ContinuumIO/ashiba/enaml/enaml/qt/docking/layout_saver.py/LayoutSaver.setup