set_inset_position

InsetMaps.set_inset_position(x=None, y=None, size=None)

Set the (center) position and size of the inset-map.

Parameters:
  • x (int or float, optional) – The center position in relative units (0-1) with respect to the figure. If None, the existing position is used. The default is None.

  • y (int or float, optional) – The center position in relative units (0-1) with respect to the figure. If None, the existing position is used. The default is None.

  • size (float, optional) – The relative radius (0-1) of the inset in relation to the figure width. If None, the existing size is used. The default is None.