InsetMaps.add_indicator_line#
- InsetMaps.add_indicator_line(m=None, **kwargs)#
Add a line that connects the inset-map to the inset location on a given map.
The line connects the current inset-map (center) position to the center of the inset extent on the provided Maps-object.
It is possible to add multiple indicator-lines for different maps!
The lines will be automatically updated if axes sizes or positions change.
- Parameters:
m (eomaps.Maps or None) – The Maps object for which the inset-line should be added. If None, the parent Maps-object that was used to create the inset-map is used. The default is None.
kwargs – Additional kwargs are passed to plt.Line2D to style the appearance of the line (e.g. “c”, “ls”, “lw”, …)
Examples