eomaps.Maps.snapshot

Maps.snapshot(clear=False)

Print a static image of the current figure to the active IPython display. (e.g. the active Jupyter Notebook cell or the active IPython console)

ONLY use this if you work in an interactive IPython terminal, a Jupyter Notebook or a Jupyter Lab environment!

Parameters

clear (bool) – Indicator if the current cell-output should be cleared prior to showing the snapshot or not. The default is False

Examples

>>> m = Maps()
>>> m.add_feature.preset.coastline()
>>> m.snapshot(clear=True)