def freeze_margins(axes, margins=[1, 1, 1, 1]):

    axes.resizer = AxesResizer(axes, margins)
    axes.figure.canvas.mpl_connect('resize_event', axes.resizer.on_resize)
Moves a rule node from one watch chain to another
dataset/ETHPy150Open glue-viz/glue/glue/utils/matplotlib.py/freeze_margins--crossover with--dataset/ETHPy150Open enthought/depsolver/depsolver/solver/rules_watch_graph.py/RulesWatchGraph.move_watch