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
  • print_to_console
  • Edit on GitHub

print_to_console

ClickCallbacks.print_to_console(pos_precision=4, val_precision=4, text=None, show_all_values=True, **kwargs)

Print details on the clicked pixel to the console.

Parameters:
  • pos_precision (int) – The floating-point precision of the coordinates. The default is 4.

  • val_precision (int) – The floating-point precision of the parameter-values (only used if β€œval_fmt=None”). The default is 4.

  • text (callable or str, optional) –

    if str: the string to print if callable: A function that returns the string that should be printed in the annotation with the following call-signature:

    >>> def text(m, ID, val, pos, ind):
    >>>     # m   ... the Maps object
    >>>     # ID  ... the ID in the dataframe
    >>>     # pos ... the position
    >>>     # val ... the value
    >>>     # ind ... the index
    >>>
    >>>     return "the string to print"
    

    The default is None.

  • show_all_values (bool, optional) – If True, show all values and coordinates of picked points. If False, only (min…max) values are shown if multiple datapoints are picked. The default is True.


© Copyright . Revision c83405be.

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