add_logoο
- Maps.add_logo(filepath=None, position='lr', size=0.12, pad=0.1, layer='all', fix_position=False)ο
Add a small image (png, jpeg etc.) to the map whose position 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, optional) β The layer at which the logo should be visible. The default is βallβ.
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.