copy

Maps.copy(data_specs=False, classify_specs=True, shape=True, **kwargs)

Create a (deep)copy of the Maps object that shares selected specifications.

-> useful to quickly create plots with similar configurations

Parameters:
  • data_specs (bool or "shared", optional) –

    Indicator if the corresponding properties should be copied.

    • if True: ALL corresponding properties are copied

    By default, “classify_specs” and the “shape” are copied.

  • classify_specs (bool or "shared", optional) –

    Indicator if the corresponding properties should be copied.

    • if True: ALL corresponding properties are copied

    By default, “classify_specs” and the “shape” are copied.

  • shape (bool or "shared", optional) –

    Indicator if the corresponding properties should be copied.

    • if True: ALL corresponding properties are copied

    By default, “classify_specs” and the “shape” are copied.

  • kwargs – Additional kwargs passed to m = Maps(**kwargs) (e.g. crs, f, ax, orientation, layer)

Returns:

copy_cls – a new Maps class.

Return type:

eomaps.Maps object