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.