Updates figure margins.