Eomaps

Latest version: v8.2.1

Safety actively analyzes 638755 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 12 of 15

2.4

🌳 New
- there's a new example in the docs to show how to analyse an underlying database
[🌌 Data analysis widgets - interacting with a database](https://eomaps.readthedocs.io/en/dev/EOmaps_examples.html#data-analysis-widgets-interacting-with-a-database)

🌻 NEW functionalities for `eomaps.MapsGrid` !
- It is now possible to use `Maps` objects alongside **ordinary matplotlib axes** with `MapsGrid` !
- 2 additional kwargs (`m_inits` and `ax_inits`) provide full control over the initialization of the MapsGrid object.

For example:
python
from eomaps import MapsGrid
mgrid = MapsGrid(2, 2,
m_inits=dict(top_row=(0, slice(0, 2)),
bottom_left=(1, 0)),
ax_inits=dict(bottom_right=(1,1))
)
mgrid.m_top_row A Maps object whose axis spans over the entire top-row of the grid
mgrid.m_bottom_left A Maps object with an axis in the bottom left corner of the grid
mgrid.ax_bottom_right An ordinary matplotlib axis in the bottom right corner of the grid


-------------

πŸ”¨ updates and fixes
- the creation of a colorbar-axes is now omitted in case `plot_map` is called without a dataset
- some doc updates
- from now on, a warning to install `geopandas` is only shown if a function that actually requires geopandas is called
(e.g. `add_overlay` and `add_gdf`)
- it is now possible to partially re-create an already closed figure
- attached callbacks are automatically re-assigned to the newly created figure
- all properties that are not related to the figure object remain unchanged in case the figure is closed
- ... however, any plot-functions (`plot_map`, `add_marker`, `add_wms` etc. ) must be called again!
- fix sharing of click events
- disable arrows in colorbar (for now) to ensure that the limits are correct

2.3

πŸ“πŸ“πŸ“ There's an awesome new (fully customizable) **scalebar** feature available!
Checkout the new example in the docs! [>> Adding scalebars <<](https://eomaps.readthedocs.io/en/dev/EOmaps_examples.html#adding-scalebars-what-about-distances)
- You can now add a scalebar to the map via `m.add_scalebar()`
- works on any cartopy projection!
- Use mouse & keyboard to adjust the scalebar directly inside the plot
- drag the scalebar with the mouse!
- rotate it with the `+` and `-` keys
- remove it by pressing the `delete` key
- change the frame-width with the arrow-keys

πŸ”§Fixes
- remove unnecessary print in `m.add_gdf`
- better testing for event-forwarding

2.2

some fixes and a new feature: pickable `geopandas.GeoDataFrames` >> [checkout the new example ](https://eomaps.readthedocs.io/en/latest/EOmaps_examples.html#using-geopandas-interactive-shapes)!

🌳 new
- It is now possible to use `geopandas.GeoDataFrames` for picking!
- first, use `m.add_gdf(picker_name="MyPicker")` to make the GeoDataFrame pickable
- then you can attach callbacks via `m.cb.MyPicker...` or `m.cb.pick["MyPicker"]...`
- you can also assign custom pickers for arbitrary artists via `m.cb.add_picker`
- callback-artists can now easily be made "temporary" via `m.cb.[click/pick].add_temporary_artist()`
πŸ”¨ fixes
- fix docstring issue with S1GBM wms service on python 3.10
- fix typo in MapsGrid when accessing individual objects via `mg[0,0]` instead of `mg.m_0_0`
- fix issues with shared callbacks for non-global projections
- always use the shape of the Maps object as default for markers (if possible)

2.1.1

just some minor bugfixes

πŸ”¨ fixes
- fix some issues with the crs-specification in `m.add_gdf()`
- automatically activate matplotlib's interactive mode using `plt.ion()` and call `plt.show()` when a map is created
- include wms dependencies in setup.py
- the default radius for `m.add_marker` no longer requires a dataset
- add support for using a custom picker (work-in-progress)

2.1

... there are a lot of documentation updates!

🌳 new
- axes-specifications can now be passed to the initialization of a `MapsGrid` object
- there are new WebMap layers!
- OSM default style (https://openstreetmap.org)
- OSM german default style (https://openstreetmap.de)
- OpenTopoMap (https://opentopomap.org)
- OSM stamen toner (standard, lite, lines, labels, background, hybrid) (http://maps.stamen.com/#toner)
- OSM stamen terrain (standard, lines, labels, background) (http://maps.stamen.com/#terrain)
- OSM stamen watercolor (http://maps.stamen.com/#watercolor)

πŸ›changes
- adding WebMap services now works exclusively via `m.add_wms` independent of the service-type
(`m.add_wmts` has been removed)
- for services that allow multiple access possibilities (e.g. WMS, WMTS, etc.), the preferred way of accessing the WebMap service can be set on the initialization of the Maps-object via `m = Maps(preferred_wms_service="wmts")`

πŸ”¨ fixes
- positional arguments are now properly forwarded when callbacks are attached
(e.g. `m.cb.click.peek_layer(1)` now works as expected)
- generalized access to xyz-tile-server
- kwargs passed to `MapsGrid` are now forwarded to `GridSpec`

2.0.2

another minor bugfix release

🌳 new
- There's a new example on how to use WebMap services in the doc!

πŸ”¨ fixes
- make sure WebMap services are put on the assigned default layer
- avoid initializing axes on S1GBM wms-collection initialization
- make sure to update S1GBM layer if "home" or "left/right" toolbar buttons are pressed

Page 12 of 15

Β© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.