edit_layout

Maps.edit_layout(filepath=None)

Activate the β€œlayout-editor” to quickly re-arrange the positions of subplots.

  • This is the same as pressing β€œalt + l” on the keyboard!

  • To exit the editor, press β€œescape” or β€œalt + l” on the keyboard!

Parameters:

filepath (str, pathlib.Path or None, optional) –

A path to a file that will be used to store the layout after you exit the layout-editor. This file can then be used to apply the layout to the map with

>>> m.apply_layout(filepath=filepath)

NOTE: The file will be overwritten if it already exists!! The default is None.