EOmaps
v8.1.1

General

  • πŸ› Installation
  • πŸ‘€ FAQ

Contribute

  • πŸš€ Contribution Guide

How to use EOmaps

  • 🌱 Basics
  • πŸ”΄ Data Visualization

Map Features

  • πŸ”¬ Inset Maps
  • 🌡 NaturalEarth features
  • πŸ›° WebMap layers
  • πŸ’  Vector Data
  • πŸ• Annotations, Markers, Logos, etc.
  • πŸ“ Scalebars
  • 🧭 Compass (or North Arrow)
  • β–¦ Gridlines

Interactivity

  • πŸ›Έ Callbacks
  • 🧰 Companion Widget
  • πŸ—οΈ Layout Editor
  • ✏️ Draw shapes on the map
  • πŸ•Ή Jupyter Widgets
  • πŸ”¦ Utilities

Miscellaneous

  • πŸ“¦ Reading data
  • β›­ Command Line Interface
  • πŸ“šLogging
  • πŸ”Έ Miscellaneous

Examples

  • πŸ—Ί EOmaps examples

API Reference

  • eomaps
EOmaps
  • add_logo
  • Edit on GitHub

add_logo

MapsGrid.add_logo(filepath=None, position='lr', size=0.12, pad=0.1, layer=None, fix_position=False)

Add a small image (png, jpeg etc.) to the map.

The position of the image is dynamically updated if the plot is resized or zoomed.

Parameters:
  • filepath (str, optional) – if str: The path to the image-file. The default is None in which case an EOmaps logo is added to the map.

  • position (str, optional) – The position of the logo. - β€œul”, β€œur” : upper left, upper right - β€œll”, β€œlr” : lower left, lower right The default is β€œlr”.

  • size (float, optional) – The size of the logo as a fraction of the axis-width. The default is 0.15.

  • pad (float, tuple optional) – Padding between the axis-edge and the logo as a fraction of the logo-width. If a tuple is passed, (x-pad, y-pad) The default is 0.1.

  • layer (str or None, optional) – The layer at which the logo should be visible. If None, the logo will be added to all layers and will be drawn on top of all background artists. The default is None.

  • fix_position (bool, optional) –

    If True, the relative position of the logo (with respect to the map-axis) is fixed (and dynamically updated on zoom / resize events)

    NOTE: If True, the logo can NOT be moved with the layout_editor! The default is False.


© Copyright . Revision c83405be.

Built with Sphinx using a theme provided by Read the Docs.