add_title

Maps.add_title(title, x=0.5, y=1.01, **kwargs)

Convenience function to add a title to the map.

(The title will be visible at the assigned layer.)

Parameters:
  • title (str) – The title.

  • x (float, optional) – The position of the text in axis-coordinates (0-1). The default is 0.5, 1.01.

  • y (float, optional) – The position of the text in axis-coordinates (0-1). The default is 0.5, 1.01.

  • kwargs –

    Additional kwargs are passed to m.text() The defaults are:

    • ”fontsize”: β€œlarge”

    • horizontalalignment=”center”

    • verticalalignment=”bottom”

See also

Maps.text()

General function to add text to the figure.